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:
1 parent
dab92ef0eb
commit
414c7053eb
1 file changed
+4
-6
@@ -19,12 +19,10 @@ jobs:
|
|||||||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
|
(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_comment' || github.event_name == 'pull_request_comment') ||
|
||||||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
|
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
|
||||||
(github.event_name == 'issues' && (
|
# Forgejo does not populate github.event.action in the workflow if: context for
|
||||||
github.event.action == 'labeled' ||
|
# issues events (run 12061 was skipped despite action being 'labeled'). Let all
|
||||||
github.event.action == 'assigned' ||
|
# issues events through — trigger.ts validates label/assignee/mention checks.
|
||||||
contains(github.event.issue.body, '@claude') ||
|
(github.event_name == 'issues')
|
||||||
contains(github.event.issue.title, '@claude')
|
|
||||||
))
|
|
||||||
runs-on: grunt
|
runs-on: grunt
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Reference in new issue
Block a user