Commit b069f1f
committed
fix: use pull_request_target and github.token for Dependabot auto-merge
Dependabot-triggered pull_request events only expose a read-only
GITHUB_TOKEN and cannot access custom secrets (secrets.GH_TOKEN was
empty). Switch to pull_request_target so the workflow runs in the
base-branch context where github.token has write permissions.1 parent c3eeb43 commit b069f1f
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | | - | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
0 commit comments