Commit 7c31499
React on issues opened and add issue body fallback
Add `issues: types: [opened]` trigger so the workflow also fires when
new issues are opened with the trigger phrase, not only on comments and
reviews.
Update the COMMENT_BODY env to fall back to `github.event.issue.body`
so the trigger-phrase check works for newly opened issues.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4b995e9 commit 7c31499
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments