Repository navigation
Auto-merge Dependabot's minor and patch action bumps - #48
Merged
Merged
Conversation
A workflow turns on squash auto-merge for Dependabot PRs unless the update is a semver major; the ruleset still requires ci / flake-check. Majors wait for the owner, since every org repo calls org-ci.yml@main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andrewthomaslee
enabled auto-merge (squash)
November 29, 2026 16:23
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.
What
.github/workflows/dependabot-auto-merge.yml(new): on a Dependabot PR,dependabot/fetch-metadata@v3reads the update type; anything butversion-update:semver-majorgetsgh pr merge --auto --squash. Top-levelpermissions: {}, the job getscontents: writeandpull-requests: writeonly.documentation/docs/ci.md: one paragraph on it.Why
Dependabot keeps the actions in
org-ci.ymlcurrent, but every PR waited for a manual merge (#44 sat for five days). Minor and patch bumps now merge onceci / flake-checkpasses. Majors still wait for the owner, because every org repo callsorg-ci.yml@mainand a merged bump reaches all of them at once.Checks
fmt: 0 changed.check: all checks passed.actionlinton the new workflow: clean.🤖 Generated with Claude Code