chore: enable Renovate platformAutomerge with safety guards - #73
Merged
Conversation
- Add platformAutomerge: true to all automerge rules and vulnerabilityAlerts so Renovate uses GitHub's native auto-merge API rather than direct merge - Add minimumReleaseAge: "3 days" globally as supply chain safety net - Extend Go dependencies rule with automerge (was grouping only) - Collapse GitHub Actions into one rule covering minor/patch/digest (digest-only updates like SHA rotations now automerge)
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.
Summary
platformAutomerge: trueto all automerge rules so Renovate uses GitHub's native auto-merge API (previously automerge was configured but never firing)minimumReleaseAge: "3 days"globally — supply chain safety net that prevents merging packages published less than 3 days agoautomerge: true(was grouping-only, blocking minor/patch/digest updates like PR fix(deps): update module google.golang.org/api to v0.279.0 #72)minor,patch, anddigest(SHA rotation updates like PR chore(deps): update github/codeql-action digest to 9e0d7b8 #71 now covered)GitHub settings (applied separately, outside this PR)
allow_auto_mergeenabled viagh api— required for GitHub native auto-merge APImainwith required status checkAll Checks Passed— needs to be applied manually (see below)To apply branch protection, run:
Test plan
gh api repos/ACLabs-Code/google-admin-client --jq .allow_auto_mergereturnstruegh api repos/ACLabs-Code/google-admin-client/branches/main/protection --jq .required_status_checks