From: Daan De Meyer Date: Tue, 10 Mar 2026 19:55:40 +0000 (+0100) Subject: ci: Only trigger claude review workflow on pr comments X-Git-Tag: v260-rc3~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e4e035f7f2dc30e841ec3f218f90bb8f2e55d8;p=thirdparty%2Fsystemd.git 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. --- diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 0f151add147..c60bd3fac8e 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -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' &&