mirror of
https://github.com/systemd/systemd.git
synced 2026-06-30 19:57:29 +00:00
ci: Only trigger claude review workflow on pr comments
The trigger for regular pr and issue comments is the same, so we have to make sure we skip if it's an issue comment and not a pr comment.
This commit is contained in:
committed by
Daan De Meyer
parent
55dd233797
commit
45e4e035f7
1
.github/workflows/claude-review.yml
vendored
1
.github/workflows/claude-review.yml
vendored
@@ -31,6 +31,7 @@ jobs:
|
||||
if: |
|
||||
github.repository_owner == 'systemd' &&
|
||||
((github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request &&
|
||||
contains(github.event.comment.body, '@claude') &&
|
||||
contains(fromJSON('["MEMBER","OWNER","COLLABORATOR"]'), github.event.comment.author_association)) ||
|
||||
(github.event_name == 'pull_request_review_comment' &&
|
||||
|
||||
Reference in New Issue
Block a user