Skip to content

ci: auto-merge Dependabot patch and minor updates once CI passes - #20

Merged
prmeyn merged 1 commit into
mainfrom
ci/dependabot-auto-merge
Nov 18, 2026
Merged

prmeyn merged 1 commit into
mainfrom
ci/dependabot-auto-merge

Conversation

@prmeyn

@prmeyn prmeyn commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Adds .github/workflows/dependabot-auto-merge.yml. On each Dependabot pull request it turns on GitHub auto-merge (merge commit) unless the update is a semver-major, so patch/minor bumps merge by themselves once the required CI check passes.

  • "Allow auto-merge" is enabled on the repo.
  • main gets a required status check (the CI build job), the same rule SMSwitch already has, so auto-merge waits for green CI.
  • dependabot/fetch-metadata is pinned by SHA (v3.1.0), like the other actions here.
  • Merges made with GITHUB_TOKEN don't trigger other workflows, so CI won't re-run on main after an auto-merge; the PR's CI already passed and release.yml re-tests at tag time.

🤖 Generated with Claude Code

Major updates still wait for a human. Requires "Allow auto-merge" (enabled) and a required
status check on main, so nothing merges before the build passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@prmeyn
prmeyn merged commit a427ffb into main Nov 18, 2026
2 checks passed
@prmeyn
prmeyn deleted the ci/dependabot-auto-merge branch November 18, 2026 16:38
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