chore(ci): auto-merge Dependabot patch-level bumps#42
Merged
Conversation
Add a workflow that auto-merges Dependabot PRs classified as `version-update:semver-patch`. Minor and major updates still require human review — those are the ones that realistically carry breaking-change risk (Spring 4.x, Jedis 7.x, etc.). Merge is gated by `--auto`, which waits for the repo's required status checks (CI + CodeQL) to pass before completing. Without the branch protection recently added on main, this wouldn't be safe — a failing patch bump would merge immediately. Reduces the weekly Dependabot manual-merge grind without opening a hole for anything higher-risk than a point release.
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
Adds
.github/workflows/dependabot-auto-merge.yml— auto-merges Dependabot PRs classified asversion-update:semver-patch. Minor and major bumps still require human review.Why
Cuts the weekly Dependabot manual-merge grind. Patch-level bumps carry vanishingly low breaking-change risk, and merge is gated by
--auto, which waits for the repo's required status checks (CI + CodeQL) to pass before completing.Safe only because branch protection on
mainwith required status checks was added recently — without it, a failing patch bump would merge immediately.Scope of auto-merge
version-update:semver-patchversion-update:semver-minorversion-update:semver-majorTest plan
Analyze (actions)passes)