Repository navigation
[Sync] Update project files from source repository (aa0fbca) - #385
Merged
mrz1836 merged 1 commit intoOct 19, 2026
Merged
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Security-sensitive approval and revocation behavior needs human validation against live GitHub rulesets and simulated API failures.
No open issues 🎉
What changed in this PR
This PR hardens Dependabot auto-merge by tightening approval requirements and revoking prior approvals when verification fails.
Changes:
- Requires rulesets that mandate approval and invalidate it after a new push.
- Adds API retries and a fail-closed
revoke-unverifiedpath. - Updates workflow comments and setup documentation.
| File | Description |
|---|---|
.github/workflows/dependabot-auto-merge.yml |
Adds stricter approval guards and verification-failure revocation. |
.github/workflows/auto-merge-trigger.yml |
Updates the comment describing required ruleset protection. |
.github/docs/auto-merge-github-app.md |
Documents approval requirements and failure handling. |
Review effort: Balanced
github-actions
Bot
deleted the
chore/sync-files-go-bitcoin-20261019-165205-aa0fbca
branch
October 19, 2026 16:59
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.
What Changed
auto-merge-trigger.yml: Updated a header comment. It now says Dependabot Auto-merge only approves when the base branch's rulesets dismiss stale approvals on push. Previously it only said base branches "should also" dismiss them.dependabot-auto-merge.yml(comments): Rewrote the header notes on revocation. A PR that couldn't be verified is now listed among the cases that revoke the bot approval and auto-merge. A new note says the bot only approves when the base branch's rulesets require an approval and void it on a new push (dismiss stale approvals, or require approval of the most recent push).dependabot-auto-merge.yml(evaluation script):revoke-unverifiedresult for when a GitHub API read fails after the PR is known.retries: 3to the github-script step to retry transient 5xx errors.revoke-unverified(fail closed) on error.dependabot-auto-merge.yml(approval conditions): Added a fifth condition to the list of checks before approving. The base branch's rulesets must require an approval and drop it on a new push.auto-merge-github-app.md: Documentation updated to match these changes. The diff for this file was trimmed, so no further detail is given here.Why It Was Necessary
applywould then not run, and an earlier approval and auto-merge could outlive a push. Failing closed with a revoke avoids that.Testing Performed
revoke-unverifiedresult reachesapply.Impact / Risk