Skip to content

fix(workflows): skip maintainer gate for maintainer-authored PRs#10

Merged
imran-siddique merged 1 commit into
mainfrom
fix/gate-skip-maintainer-author
Jun 12, 2026
Merged

fix(workflows): skip maintainer gate for maintainer-authored PRs#10
imran-siddique merged 1 commit into
mainfrom
fix/gate-skip-maintainer-author

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

The gate's job-level if skips on author_association MEMBER/OWNER, but GitHub only reports MEMBER when the author's org membership is public, so a maintainer with private membership gets CONTRIBUTOR and the gate demands an approval the author cannot give (authors cannot approve their own PRs). This keeps the base-branch check in the job-level if, moves the association skip in-script, and adds an explicit skip when the PR author is in MAINTAINERS; confirmed live on cmcp#291, where the gate failed while all tests passed.

Note: this PR is itself gate-blocked by the bug it fixes. Approve and re-run the gate, or admin-merge.

Generated with Claude Code

author_association only reports MEMBER for public org membership; with
private membership a maintainer's own PR could never clear the gate
(authors cannot approve their own PRs). Skip when the PR author is in
MAINTAINERS.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@imran-siddique imran-siddique merged commit f519162 into main Jun 12, 2026
2 of 3 checks passed
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.

1 participant