Skip to content

Switch CCR opt-out to check PR body for 'SKIP CCR REVIEW'#19789

Merged
T-Gro merged 2 commits into
mainfrom
agentics/optout-ccr
May 22, 2026
Merged

Switch CCR opt-out to check PR body for 'SKIP CCR REVIEW'#19789
T-Gro merged 2 commits into
mainfrom
agentics/optout-ccr

Conversation

@T-Gro
Copy link
Copy Markdown
Member

@T-Gro T-Gro commented May 22, 2026

SKIP CCR REVIEW

Updates the CcrOptout instruction to look for SKIP CCR REVIEW in the PR body instead of a label (labels aren't in the CCR agent's context).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

✅ No release notes required

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-OptOut label to the PR body/description containing SKIP 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.md that still references the CCR-OptOut label. 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.

Comment thread .github/instructions/CcrOptout.instructions.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants