Skip to content

ci: re-render the maintainer gate for bases that predate the policy file - #466

Merged
imran-siddique merged 1 commit into
mainfrom
ci/gate-stale-base-render
Oct 3, 2026
Merged

imran-siddique merged 1 commit into
mainfrom
ci/gate-stale-base-render

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

Re-renders this repository's maintainer gate from the template merged in agentrust-io/.github#53.

The gate read .github/maintainers.json only at pr.base.sha. Since #462 added that file at 1b8ef83, any pull request whose base predates it throws HttpError: Not Found on its next gate run instead of waiting for approval. #457 (base 5991999) is one. The gate now falls back to refs/heads/<base.ref>, and a policy missing there too still fails closed.

The only change is the rendered script block. The .github drift auditor reports this copy aligned with the template.

Re-rendered from the agentrust-io/.github template at 58c4f9c (.github#53).
A pull request whose base predates .github/maintainers.json now reads the
policy at the tip of its base branch instead of failing with Not Found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@imran-siddique
imran-siddique requested review from a team, lywinged and rajnisht7 as code owners October 3, 2026 04:30
@imran-siddique
imran-siddique merged commit 7703a0b into main Oct 3, 2026
11 checks passed
@imran-siddique
imran-siddique deleted the ci/gate-stale-base-render branch October 3, 2026 04:32
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.

2 participants