Skip to content

Auto-merge Dependabot's minor and patch action bumps - #48

Merged
andrewthomaslee merged 2 commits into
mainfrom
dependabot-auto-merge
Nov 29, 2026
Merged

andrewthomaslee merged 2 commits into
mainfrom
dependabot-auto-merge

Conversation

@andrewthomaslee

Copy link
Copy Markdown
Member

What

  • .github/workflows/dependabot-auto-merge.yml (new): on a Dependabot PR, dependabot/fetch-metadata@v3 reads the update type; anything but version-update:semver-major gets gh pr merge --auto --squash. Top-level permissions: {}, the job gets contents: write and pull-requests: write only.
  • documentation/docs/ci.md: one paragraph on it.

Why

Dependabot keeps the actions in org-ci.yml current, but every PR waited for a manual merge (#44 sat for five days). Minor and patch bumps now merge once ci / flake-check passes. Majors still wait for the owner, because every org repo calls org-ci.yml@main and a merged bump reaches all of them at once.

Checks

  • fmt: 0 changed.
  • check: all checks passed.
  • actionlint on the new workflow: clean.
  • The workflow itself first runs on the next Dependabot PR.

🤖 Generated with Claude Code

A workflow turns on squash auto-merge for Dependabot PRs unless the
update is a semver major; the ruleset still requires ci / flake-check.
Majors wait for the owner, since every org repo calls org-ci.yml@main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewthomaslee
andrewthomaslee enabled auto-merge (squash) November 29, 2026 16:23
@andrewthomaslee
andrewthomaslee merged commit de2cc0d into main Nov 29, 2026
4 checks passed
@andrewthomaslee
andrewthomaslee deleted the dependabot-auto-merge branch November 29, 2026 16:35
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