fix(ci): read trusted maintainer policy for older PR bases - #278
Merged
Merged
Conversation
Member
Author
|
I’m authorizing this merge to unblock PRs whose maintainer check fails because their old base revision predates the policy file. CI is green. This is a one-time exception to waiting for independent review of this fix. The gate still requires current-head maintainer approval and reads policy only from the base branch. After merging, we’ll rerun the affected checks and verify the result. |
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.
PR #236 has an independent approval on its current head, but its approval gate fails because the older base commit predates
.github/maintainers.json.Re-render the gate from the reviewed organization template. A missing policy at the recorded base falls back to
refs/heads/main; policy validation, current-head independent approvals and fail-closed behavior remain enforced.Validation: all 12 organization gate tests passed, rendered-template drift was empty, and a probe reproduced the old 404, passed with the fix, and still rejected a missing approval. Hosted checks and independent review remain required.