Commit 16086c8
committed
fix(github): use pull_request_target for dependabot automerge workflow
The pull_request trigger runs Dependabot PRs with a read-only token
(GitHub's post-2021 fork security model), causing `gh pr merge` to
silently fail or be skipped.
Switching to pull_request_target runs the workflow in the base branch
context with write permissions. The github.actor == 'dependabot[bot]'
guard makes this safe — Dependabot never modifies base-branch code.1 parent d0ea003 commit 16086c8
1 file changed
Lines changed: 1 addition & 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 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments