⚙️ Auto-merge dependabot PRs into dependabot-updates#191
Merged
Conversation
Individual dependabot PRs were sitting until manually merged. Wire up the istic/shared-workflows auto-merge-dependabot.yml reusable workflow so PRs targeting dependabot-updates merge automatically once CI passes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a GitHub Actions workflow to automatically merge Dependabot PRs that target the dependabot-updates branch by delegating to the existing istic/shared-workflows reusable workflow.
Changes:
- Adds a new workflow that triggers on PRs opened against
dependabot-updates. - Calls the shared
auto-merge-dependabot.ymlreusable workflow with write permissions needed to enable merge.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+10
to
+14
| automerge: | ||
| uses: istic/shared-workflows/.github/workflows/auto-merge-dependabot.yml@main | ||
| permissions: | ||
| pull-requests: write | ||
| contents: write |
GitHub PR review flagged that the job would run (and be granted write permissions) for any PR into dependabot-updates, not just dependabot's own. Gate the job on github.actor. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dependabot-updatesbranch, but no automation merged individual dependabot PRs — they were being merged manually.istic/shared-workflowsreusable workflowauto-merge-dependabot.yml, which waits for checks then merges viafastify/github-action-merge-dependabotwith GitHub native auto-merge.allow_auto_merge: trueand theDependabotbranch ruleset requires thetestcheck, so this should now merge automatically once CI passes.Test plan
dependabot-updatestestcheck succeeds