Repository navigation
ci: auto-merge Dependabot patch and minor PRs - #211
Merged
Merged
Conversation
Queues native auto-merge for Dependabot patch and minor updates. The "main: require CI" ruleset holds the merge until the `required` check passes. Majors get the needs-manual-review label. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: John Siracusa <siracusa5@users.noreply.github.com>
Merges made with GITHUB_TOKEN do not start push-triggered workflows, so auto-merged bumps skip the deploy and push CI runs. The earlier comment said the opposite. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: John Siracusa <siracusa5@users.noreply.github.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.
What
A workflow that queues GitHub's native auto-merge (
gh pr merge --auto --squash) for Dependabot PRs that are patch or minor updates. Major updates get theneeds-manual-reviewlabel and wait for a human.Settings changed outside this PR
main: require CI: therequiredcheck must pass before anything lands onmain. Org admins can bypass. The existingprotect mainruleset is untouched.needs-manual-review.The
requiredjob aggregates engine, engine-windows, console, site, desktop and desktop-linux, and it passed on Dependabot PR #206. A Dependabot PR that fails CI stays open.Things to know
pull_request.user.login), notgithub.actor, which can be spoofed by commenting on a fork PR. It usespull_request, notpull_request_target, and pinsdependabot/fetch-metadatato a commit SHA.GITHUB_TOKENrun no push-triggered workflows (in harness-kit, 12 bot merges ran 0 and 2 human merges ran 3 each). Sosite-deploy.yml,console-preview.ymland the push run ofci.ymlskip these merges, and a bump reaches production with the next push tomainthat touches the same app. The desktop app only releases from a tag either way.sign-off.Test plan
requiredis green🤖 Generated with Claude Code