From 45e4e035f7f2dc30e841ec3f218f90bb8f2e55d8 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 10 Mar 2026 20:55:40 +0100 Subject: [PATCH] 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. --- .github/workflows/claude-review.yml | 1 + 1 file changed, 1 insertion(+) 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' &&