Skip CI reviews for labeled pull requests - #1096
Merged
Merged
Conversation
Maintainers need a way to exempt selected pull requests without disabling CI reviews for an entire repository. The CI poller now treats an operator-configured label as an explicit skip and records a successful status. It also retires deferred attempts so removing the label makes the same pull request head eligible again. The setting remains in the trusted global CI config. Pull request authors cannot change the skip policy through the branch under review. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
A label-based bypass means no review ran. Reporting that outcome as success makes GitHub show work as completed when roborev intentionally did not perform it. GitHub commit statuses cannot represent a skipped result. Use a GitHub check run so app-authenticated CI reports the distinction accurately. Keep repeated polls idempotent to avoid duplicate skipped checks. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
Collaborator
Author
|
These particular findings are irrelevant. Disregard them. |
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.
The CI poller can now treat labels in the operator-owned
[ci].skip_labelslist as explicit review bypasses. Matching is case-insensitive, and a matching pull request does not create a review panel. Deferred attempts honor the same gate and are removed, so the same head becomes eligible again after a maintainer removes the label. Pull request branches cannot change this global policy.With GitHub App authentication, roborev publishes the bypass as a check run with a
skippedconclusion. It does not report the bypass as a successful review. Repeated polls reuse the existing skipped check, and GitHub App setups need the Checks read/write permission. GitHub does not permit personal authentication to create check runs, so those setups still suppress the review but cannot publish the skipped result.