Skip to content

chore(ci): auto-merge Dependabot patch-level bumps#42

Merged
amavashev merged 1 commit intomainfrom
chore/ci-dependabot-auto-merge
Apr 19, 2026
Merged

chore(ci): auto-merge Dependabot patch-level bumps#42
amavashev merged 1 commit intomainfrom
chore/ci-dependabot-auto-merge

Conversation

@amavashev
Copy link
Copy Markdown
Contributor

Summary

Adds .github/workflows/dependabot-auto-merge.yml — auto-merges Dependabot PRs classified as version-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 main with required status checks was added recently — without it, a failing patch bump would merge immediately.

Scope of auto-merge

Update type Behavior
version-update:semver-patch Auto-merge after CI green
version-update:semver-minor Manual review
version-update:semver-major Manual review
Security updates Auto-merge if patch; manual otherwise

Test plan

  • Workflow syntax valid (CodeQL Analyze (actions) passes)
  • First post-merge Dependabot patch PR auto-merges after checks pass
  • First post-merge Dependabot minor/major PR does NOT auto-merge (stays open for review)

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.
@amavashev amavashev enabled auto-merge April 19, 2026 16:44
@amavashev amavashev merged commit ab45fa0 into main Apr 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant