Skip to content

Auto-merge every green Dependabot update, majors included - #13

Merged
sapn95 merged 1 commit into
mainfrom
automerge-every-green-update
Aug 26, 2026
Merged

Auto-merge every green Dependabot update, majors included#13
sapn95 merged 1 commit into
mainfrom
automerge-every-green-update

Conversation

@sapn95

@sapn95 sapn95 commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Every major the auto-merge workflow held back ended the same way: the checks
were green, the release notes said nothing the tests had not already answered,
and a person pressed the button days later. The gate cost latency and bought
nothing, so it is gone: any Dependabot pull request now merges itself once
every check on the vetted commit is green — patch, minor and major alike.

What changed in dependabot-auto-merge.yml:

  • The semver gate and dependabot/fetch-metadata are removed — nothing needs
    the update type any more, which is also one third-party action less in the
    merge path. The commit vetting (all commits authored by dependabot[bot],
    signed, merged with --match-head-commit) is unchanged.
  • The no-automerge label is the manual hold, replacing automerge-ok, which
    labelled the common case instead of the exception. A run reads it at start;
    the daily sweep respects it too.
  • CLEAN no longer merges on its own: both CLEAN and UNSTABLE wait until every
    check that is not this workflow's own has passed or been skipped, counted by
    bucket rather than state, so a cancelled or held check keeps the pull
    request open. This also gives the workflow a defined answer on a repository
    without branch protection.
  • The daily sweep now lists every open Dependabot pull request instead of the
    labelled ones.

In settings, not in this diff: "require branches to be up to date" is switched
off for main. A Dependabot branch cannot be brought up to date automatically
(a GITHUB_TOKEN push triggers no checks, and Dependabot ignores rebase
commands from bots), so the strict rule parked the second grouped update of
the week until Dependabot's next weekly run — today's stalled setup-uv bump
in browser-in-a-box was exactly that. The required checks themselves stay.

The semver gate bought latency, not safety: every held-back major was merged unchanged once a person confirmed what the checks already said. The checks are the gate now; the no-automerge label is the manual hold. fetch-metadata is no longer needed, and the wait loop counts the rollup by bucket, so a cancelled or held check blocks instead of being waved past.
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f3648b96-176d-4999-bd64-2e0dbb054c19


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sapn95
sapn95 merged commit 2cf34e6 into main Aug 26, 2026
7 checks passed
@sapn95
sapn95 deleted the automerge-every-green-update branch August 26, 2026 21:37
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