From 231a31ca39f7590bfddebb033282766858a1221f Mon Sep 17 00:00:00 2001 From: Vlad Mocanu Date: Thu, 26 Feb 2026 10:07:05 +0200 Subject: [PATCH] revert: undo workflow if-condition gating for pull_request_comment Forgejo's pull_request_comment payload does not populate github.event.comment.body or github.event.review.body in a way the workflow contains() expression can read, causing legitimate @claude reviews to be skipped (run 12084). Revert to unconditional pass at the workflow level. The @claude check is handled properly in trigger.ts which inspects the actual payload fields with fallback logic. Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/claude.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.forgejo/workflows/claude.yml b/.forgejo/workflows/claude.yml index 1f61505..ea81a3d 100644 --- a/.forgejo/workflows/claude.yml +++ b/.forgejo/workflows/claude.yml @@ -24,8 +24,7 @@ jobs: # despite action being 'labeled'). Let all through; trigger.ts validates. 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') || contains(github.event.review.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') runs-on: grunt