chore(renovate): gate patch automerge on release age and use platform automerge - #9
Merged
Merged
Conversation
… automerge Now that CI runs on every PR, Renovate's automerge has real checks to wait on. Two adjustments: - platformAutomerge delegates the merge to GitHub's native auto-merge, so an automergeable PR lands as soon as the checks go green rather than waiting for Renovate's next scheduled run. Requires the repo auto-merge setting, which has been enabled. - Patch updates had no minimumReleaseAge, so a release could automerge minutes after publication. 3 days leaves room for a bad release to be yanked or hotfixed before it lands here. Minor and major are unchanged: still manual, still 7 and 30 day gates. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #5, now that CI actually runs on every PR.
Context
Before #5 the only check on a Renovate PR was
renovate/stability-days, which gates on release age and compiles nothing. Renovate'sautomergedoes already wait on branch status (ignoreTestsdefaults to false) — there was simply nothing to wait for. With CI in place, patch automerge picks up that gate for free.Two things still worth changing:
platformAutomerge: trueDelegates the merge to GitHub's native auto-merge, so an automergeable PR lands the moment checks go green instead of waiting for Renovate's next scheduled run.
This needs the repo-level auto-merge setting, which was
false. Enabled:Without that flag the config would have silently no-opped.
minimumReleaseAge: "3 days"on patchPatch had no age gate at all — a release could automerge minutes after publication. 3 days leaves room for a bad release to be yanked or hotfixed before it reaches this repo. Minor (7 days) and major (30 days) are unchanged and stay manual.
Validation
Not done
mainhas no branch protection, so nothing structurally prevents a red PR being merged by hand — CI is advisory. Requiring theMCP serverandSwift packagechecks would close that, but it also constrains direct pushes tomainand applies to every PR, so leaving it as your call.🤖 Generated with Claude Code