Commit 073359c
authored
ci(automerge): use AUTOMERGE_PAT with GITHUB_TOKEN fallback (#49)
The default GITHUB_TOKEN cannot enable auto-merge on PRs that modify
.github/workflows/** (github-actions ecosystem bumps), so those Dependabot
PRs stall and need a manual/admin merge.
Allow an optional AUTOMERGE_PAT secret (repo + workflow scope) to be used
for `gh pr merge --auto`, falling back to GITHUB_TOKEN when the secret is
not set — so behavior is unchanged until the secret is added.1 parent 0eef2e4 commit 073359c
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments