Commit 7174c1d
fix(ci): use pull_request_target for fork PR labeling (#479)
Switch trigger from pull_request to pull_request_target so fork PRs
get a write-capable GITHUB_TOKEN. Replace git-diff squad detection
with GitHub API (pulls.listFiles) since pull_request_target does not
check out fork commits. Remove unnecessary checkout step.
Closes #479
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ff711c1 commit 7174c1d
1 file changed
Lines changed: 15 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 26 | + | |
40 | 27 | | |
41 | 28 | | |
42 | 29 | | |
43 | | - | |
44 | | - | |
| 30 | + | |
45 | 31 | | |
46 | 32 | | |
47 | | - | |
48 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
49 | 45 | | |
0 commit comments