From b4bc36810d5f51cac2ab02e50b4c3792577c90db Mon Sep 17 00:00:00 2001 From: Vlad Mocanu Date: Wed, 25 Feb 2026 23:49:19 +0200 Subject: [PATCH] fix: let pull_request_review_comment events through unconditionally Forgejo's pull_request_review_comment event does not populate github.event.comment.body in the workflow context (it's always empty), so the contains() check never matches. The action code does its own trigger phrase validation, so it's safe to let these events through based on event name alone. Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/claude.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/claude.yml b/.forgejo/workflows/claude.yml index d2089ca..7d9c368 100644 --- a/.forgejo/workflows/claude.yml +++ b/.forgejo/workflows/claude.yml @@ -46,7 +46,7 @@ jobs: claude: if: | (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || - ((github.event_name == 'pull_request_review_comment' || github.event_name == 'pull_request_comment') && contains(github.event.comment.body, '@claude')) || + (github.event_name == 'pull_request_review_comment' || github.event_name == 'pull_request_comment') || (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || (github.event_name == 'issues' && ( github.event.action == 'labeled' ||