Commit 6eb6bd8
Switch caller triggers from pull_request to pull_request_target
Fork-PR welcomes and thanks were failing because pull_request events
from forks run with a read-only token and no secrets access — the
jinx app token can't be minted, the workflow dies before posting.
pull_request_target runs in the upstream repo's context with full
secrets access, so the welcome/thank/checklist comments fire on
fork PRs too.
The workflows don't check out PR head code, so the usual
pull_request_target security concern (running untrusted code with
secrets) doesn't apply here — they only post a comment via the app
token.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e334ba7 commit 6eb6bd8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments