Commit 743ad4c
committed
fix: restore pull_request_target for fork PR secrets access
The workflow was accidentally regressed to use pull_request instead of
pull_request_target when PR #3 was squash merged. This prevented fork PRs
from accessing repository secrets needed for the migrate app authentication.
Changes:
- Restore pull_request_target trigger
- Add sparse checkout of REPOSITORIES.md from PR
- Keep trusted scripts from main branch for security
- Maintain MIGRATE_APP_ID/PRIVATE_KEY env vars from PR #281 parent 0270f17 commit 743ad4c
1 file changed
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | | - | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
17 | 36 | | |
18 | 37 | | |
19 | 38 | | |
| |||
63 | 82 | | |
64 | 83 | | |
65 | 84 | | |
66 | | - | |
67 | | - | |
68 | 85 | | |
69 | 86 | | |
70 | 87 | | |
| |||
107 | 124 | | |
108 | 125 | | |
109 | 126 | | |
110 | | - | |
| 127 | + | |
111 | 128 | | |
112 | | - | |
| 129 | + | |
113 | 130 | | |
0 commit comments