Skip to content

ci(dependabot): switch on auto-merge for minor and patch group updates - #271

Merged
connabyss merged 1 commit into
mainfrom
claude/project-thread-4sirj5
Nov 27, 2026
Merged

connabyss merged 1 commit into
mainfrom
claude/project-thread-4sirj5

Conversation

@connabyss

Copy link
Copy Markdown
Owner

What was wrong, what you changed, how you checked:

Dependabot's minor/patch PRs were meant to auto-merge (see #269), and the repo setting "Allow auto-merge" is on, but that setting only permits auto-merge: something still has to switch it on for each PR. Nothing did, so #270 sat open with every check green until it was merged by hand.

This adds .github/workflows/dependabot-auto-merge.yml. On Dependabot PRs it runs gh pr merge --auto --squash, but only for the minor/patch group branches (dependabot/github_actions/actions-<hash>, dependabot/pip/python-<hash>). The -major groups and any ungrouped update (e.g. a security fix) are left for review. The "protect main" ruleset's required checks still have to pass before anything merges. It uses no actions and never checks out the PR's code.

One side effect: a merge made with the workflow token doesn't trigger push workflows on main (e.g. release-drafter) for that commit. The next normal merge catches up.

Fixes n/a (follow-up to #269 / #270)

Assisted-by: Claude Code


Generated by Claude Code

The repo allows auto-merge, but nothing turned it on for each Dependabot PR,
so #270 sat open and green for hours. This workflow enables auto-merge (squash)
for the "actions" and "python" groups only; major groups and ungrouped updates
still wait for a person. It never checks out or runs the PR's code.

Assisted-by: Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175Q8iDyvh1Ws5birviskkd
@connabyss connabyss self-assigned this Nov 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Bite ➖ Bite: nothing here to check

No commit in this pull request changed code: only docs, settings or tests.

How Bite checks

Bite asks one question about each change: if it disappeared, would any test notice? It takes the change out, runs your tests, and puts it back. What is Bite?

@connabyss
connabyss merged commit 93e3fb1 into main Nov 27, 2026
28 of 29 checks passed
@connabyss
connabyss deleted the claude/project-thread-4sirj5 branch November 27, 2026 14:21
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