From 7ad269c95a02e2e1bb124afb8d03c839bfc4e910 Mon Sep 17 00:00:00 2001 From: DJ Date: Thu, 9 Apr 2026 18:28:09 -0700 Subject: [PATCH] Remove @claude mention filter so Claude auto-responds to all PR reviews Instead of requiring reviewers to explicitly mention @claude, Claude now responds to all issue comments and PR review comments from trusted contributors (OWNER, MEMBER, COLLABORATOR). Added a claude[bot] exclusion to prevent infinite feedback loops. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/claude-code-reusable.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/claude-code-reusable.yml b/.github/workflows/claude-code-reusable.yml index 029998752..11d09ff19 100644 --- a/.github/workflows/claude-code-reusable.yml +++ b/.github/workflows/claude-code-reusable.yml @@ -14,16 +14,16 @@ on: required: false jobs: - # Interactive mode: PR reviews and @claude mentions + # Interactive mode: PR reviews and comments from trusted contributors claude: if: >- (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'issue_comment' && github.event.issue.pull_request && - contains(github.event.comment.body, '@claude') && + github.event.comment.user.login != 'claude[bot]' && contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) || (github.event_name == 'pull_request_review_comment' && - contains(github.event.comment.body, '@claude') && + github.event.comment.user.login != 'claude[bot]' && contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) runs-on: ubuntu-latest timeout-minutes: 60