From 414c7053ebb3f029ebf88d500a3f404243704175 Mon Sep 17 00:00:00 2001 From: Vlad Mocanu Date: Thu, 26 Feb 2026 10:19:26 +0200 Subject: [PATCH] fix: let all issues events through workflow gate on Forgejo Forgejo does not populate github.event.action in the workflow if: context for issues events (run 12061 was skipped despite action being 'labeled'). Same pattern as pull_request_comment (M3). Remove the action/body/title gating from the workflow condition and let trigger.ts handle all validation (label, assignee, mention). Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/claude.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/claude.yml b/.forgejo/workflows/claude.yml index bc2c277..b962cf2 100644 --- a/.forgejo/workflows/claude.yml +++ b/.forgejo/workflows/claude.yml @@ -19,12 +19,10 @@ jobs: (github.event_name == 'issue_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' || - github.event.action == 'assigned' || - contains(github.event.issue.body, '@claude') || - contains(github.event.issue.title, '@claude') - )) + # Forgejo does not populate github.event.action in the workflow if: context for + # issues events (run 12061 was skipped despite action being 'labeled'). Let all + # issues events through — trigger.ts validates label/assignee/mention checks. + (github.event_name == 'issues') runs-on: grunt steps: - name: Checkout