Commit 59f8e65
committed
Merge dependabot PRs with BOT_PAT, not GITHUB_TOKEN
Auto-merge completes on behalf of whoever enabled it, and a push made by
GITHUB_TOKEN starts no workflow runs. Enabled with GITHUB_TOKEN the merge
landed on main silently: no CI, no CodeQL, no dependency snapshot, and
update-pr-branch never woke to rebase the remaining PRs — the automation cut
its own legs one merge at a time.
The approval stays on GITHUB_TOKEN. A review triggers nothing and does not
need to, so the short-lived token is enough there and the approval reads as
the bot rather than as a person. That step needs
can_approve_pull_request_reviews on the repository, which is now enabled; no
permissions block substitutes for it.1 parent 231581c commit 59f8e65
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
31 | 41 | | |
32 | | - | |
| 42 | + | |
0 commit comments