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 <noreply@anthropic.com>
This commit is contained in:
Vlad MocanuandClaude Opus 4.6 committed 2026-02-26 10:19:39 +02:00
1 parent dab92ef0eb
commit 414c7053eb
1 file changed
+4 -6
+4 -6
View File
@@ -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