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:
Daan De Meyer
2026-03-10 20:55:40 +01:00
committed by Daan De Meyer
parent 55dd233797
commit 45e4e035f7

View File

@@ -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' &&