Skip to content

CI - Simplify PR approval check#4578

Merged
bfops merged 5 commits intomasterfrom
bfops/tweak-pr-approval-check
Mar 7, 2026
Merged

CI - Simplify PR approval check#4578
bfops merged 5 commits intomasterfrom
bfops/tweak-pr-approval-check

Conversation

@bfops
Copy link
Collaborator

@bfops bfops commented Mar 6, 2026

Description of Changes

The previous version ended up incurring two different entries on the PR (one for the pull_request event and one for the pull_request_review event). Both versions were marked "required", so PRs could end up in an unmergeable state if one check had succeeded but the other had failed (e.g. if you submitted a PR approval, the previous pull_request version of the check would still be failed since it didn't refresh).

See the entries at top and bottom here:
image

This PR fixes it by only allowing the pull_request_review events. I think this covers all the cases, but I'm not sure.

API and ABI breaking changes

None.

Expected complexity level and risk

1

Testing

I don't know how to test it really 🤷

@bfops bfops requested a review from jdetter as a code owner March 6, 2026 19:39
@bfops bfops added this pull request to the merge queue Mar 6, 2026
@bfops bfops removed this pull request from the merge queue due to a manual request Mar 6, 2026
Copy link
Collaborator Author

@bfops bfops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

submitting a review to bump the check

@clockwork-labs-bot clockwork-labs-bot added this pull request to the merge queue Mar 6, 2026
@bfops bfops removed this pull request from the merge queue due to a manual request Mar 6, 2026
@bfops bfops added this pull request to the merge queue Mar 7, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 7, 2026
@bfops bfops added this pull request to the merge queue Mar 7, 2026
Merged via the queue into master with commit 154287c Mar 7, 2026
34 of 35 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.

2 participants