You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): the ADR merge gate requires an APPROVED review, from anyone (#8172)
The gate matched the approving account against a hard-coded
`MAINTAINER_APPROVERS` list. That proxy became unsatisfiable once cloud
sessions began authoring PRs under the maintainer's own account: GitHub
forbids self-approval, so a required context was permanently red on
exactly the PRs the human was driving, while an AI seat holding the same
credential could still satisfy it.
Per the maintainer ruling of 2026-08-12, the account list is retired
rather than widened: the gate now passes when the PR's latest
state-setting review is APPROVED, whoever submitted it. The revocation
semantics are unchanged -- a later CHANGES_REQUESTED or DISMISSED still
turns it red, and COMMENTED/PENDING still set nothing.
- `MAINTAINER_APPROVERS` and `isMaintainer` are removed;
`latestMaintainerReviewState` becomes `latestReviewState`, folding over
every reviewer; `approvalsFromNonMaintainers` becomes `approverLogins`,
a pure diagnostic that no longer asserts a distinction the gate does
not draw.
- Both file headers are rewritten rather than patched: they now state
what the gate guarantees (someone approved, currently) and what it no
longer does (that the approver is the maintainer, that a human merged).
- The job name `ADR maintainer approval` is deliberately unchanged -- it
is the required-context string in the `main` ruleset.
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments