Commit 94d99ad
committed
fix: use App token for auto-merge to unblock post-merge events
When GITHUB_TOKEN enables auto-merge, the resulting merge is attributed
to github-actions[bot]. GitHub suppresses all events from GITHUB_TOKEN,
so the pull_request:closed and push events never fire. This prevents
the post-merge workflow from running (no auto-update of open PR
branches, no CI/security/scorecard triggers on main).
Fix: use the patchloom-release App token for gh pr merge --auto. Events
from GitHub App tokens are not suppressed, so post-merge triggers
correctly.
Also skips both the token generation and auto-merge steps for release
PRs (patchloom-release[bot] author) so the maintainer controls release
timing.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent 6613770 commit 94d99ad
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
38 | | - | |
| 45 | + | |
39 | 46 | | |
0 commit comments