Skip to content

ci: auto-merge Dependabot patch and minor updates - #31

Merged
emaarco merged 1 commit into
mainfrom
emaarco/push-mr-automerge
Aug 21, 2026
Merged

ci: auto-merge Dependabot patch and minor updates#31
emaarco merged 1 commit into
mainfrom
emaarco/push-mr-automerge

Conversation

@emaarco

@emaarco emaarco commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

What

Adds .github/workflows/dependabot-automerge.yml — a semver-aware Dependabot auto-merge workflow.

How

  • Actor-gated to dependabot[bot] only.
  • Enables GitHub-native auto-merge for patch + minor updates; majors stay manual.
  • --squash to match the squash-only, linear-history main ruleset.
  • Retry loop (5×/15s) to survive the on: pull_request merge-race while required checks are still queued.
  • Least-privilege permissions (contents: write + pull-requests: write).
  • fetch-metadata SHA-pinned to v3.1.0, matching the repo's actions-pinning policy.

Why safe

The active main ruleset requires 5 status checks (backend build + contract drift, frontend verify + build, mutation gate 80, Bruno E2E, Playwright E2E), so --auto genuinely waits for CI before merging. Grouped Dependabot PRs containing a major bump report update-type: major and correctly stay manual.

@emaarco
emaarco enabled auto-merge (squash) August 21, 2026 11:57
@emaarco
emaarco merged commit 471242b into main Aug 21, 2026
6 checks passed
@emaarco
emaarco deleted the emaarco/push-mr-automerge branch August 21, 2026 12:01
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