Skip to content

Commit dc492a0

Browse files
chmltnclaude
andcommitted
Remove pull request review triggers from Claude workflow
Remove pull_request_review_comment and pull_request_review event triggers and their associated conditional logic. Claude will now only respond to issue comments and issues. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f30901e commit dc492a0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/claude.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,17 @@ name: Claude Code
33
on:
44
issue_comment:
55
types: [created]
6-
pull_request_review_comment:
7-
types: [created]
86
issues:
97
types: [opened, assigned]
10-
pull_request_review:
11-
types: [submitted]
128

139
jobs:
1410
claude:
1511
if: |
1612
(
1713
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
18-
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
19-
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
2014
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
2115
) && (
2216
(github.event_name == 'issue_comment' && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) ||
23-
(github.event_name == 'pull_request_review_comment' && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) ||
24-
(github.event_name == 'pull_request_review' && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.review.author_association)) ||
2517
(github.event_name == 'issues' && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.issue.author_association))
2618
)
2719
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)