Commit 7145962
committed
ci: run sync-pr-labels on pull_request_target only
Fork PRs receive a read-only GITHUB_TOKEN on pull_request, so
issues.addLabels fails with 403. This workflow only uses the API
(no PR checkout), so pull_request_target is the correct trigger.
Made-with: Cursor1 parent ac7c493 commit 7145962
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | | - | |
5 | | - | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments