Repository navigation
Add dependabot force rebase workflow - #258
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a GitHub Actions workflow to automatically rebase Dependabot pull requests. The workflow triggers on PR events and uses the peter-evans/rebase action to keep Dependabot PRs up-to-date with the base branch.
Key changes:
- New workflow file that triggers on pull request open, synchronize, and reopen events
- Configured to run only for Dependabot-authored PRs with appropriate permissions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,14 @@ | |||
| name: Dependabot Force Rebase | |||
There was a problem hiding this comment.
The filename contains a spelling error: "firce" should be "force". The file should be renamed to "dependabot-force-rebase.yml".
| contents: write # 👈 allows pushing commits to branches | ||
| pull-requests: write # 👈 allows updating PR metadata | ||
| steps: | ||
| - uses: peter-evans/rebase@v4 |
There was a problem hiding this comment.
The workflow is missing an input parameter for the rebase action. The peter-evans/rebase action requires a GitHub token to be provided via the 'token' input parameter. Without this, the action will fail to authenticate and perform the rebase operation. Add a 'with' block specifying the token, such as 'token: ${{ secrets.GITHUB_TOKEN }}'.
| - uses: peter-evans/rebase@v4 | |
| - uses: peter-evans/rebase@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #258 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 26 26
Lines 458 458
Branches 113 113
=========================================
Hits 458 458 🚀 New features to boost your workflow:
|
No description provided.