Switch CCR opt-out to check PR body for 'SKIP CCR REVIEW'#19789
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
✅ No release notes required |
There was a problem hiding this comment.
Pull request overview
Updates the CCR opt-out instruction so the review agent skips work when the PR body contains a specific marker, avoiding reliance on labels (which may not be present in the agent context).
Changes:
- Switch opt-out trigger from the
CCR-OptOutlabel to the PR body/description containingSKIP CCR REVIEW.
Comments suppressed due to low confidence (1)
.github/instructions/CcrOptout.instructions.md:6
- There is another copy of this instruction at
custom-instructions/repo/.github/instructions/CcrOptout.instructions.mdthat still references theCCR-OptOutlabel. If that directory is intended to stay in sync (e.g., for templates/examples), it should be updated too to prevent drift.
If the pull request body/description contains the text "SKIP CCR REVIEW", stop any review, do not post any comment, immediately finish and ignore all other instructions for reviewing.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
SKIP CCR REVIEW
Updates the CcrOptout instruction to look for
SKIP CCR REVIEWin the PR body instead of a label (labels aren't in the CCR agent's context).