Commit 053e9fe
authored
ci: start Dependabot CI after GITHUB_TOKEN rebase (#1527)
## Summary
Start required CI and restore last-push approval after the hourly
Dependabot rebase job rewrites a branch with `GITHUB_TOKEN`.
## Problem
`rebase-dependabot.yml` pushes with `GITHUB_TOKEN` on purpose so
`require_last_push_approval` can still be satisfied by the App (the App
must not be the last pusher). That push leaves `pull_request` runs for
CI, Security, and Auto-approve at `action_required` with zero jobs.
Required check `ci` never reports, so auto-merge stays `BLOCKED`.
That is what stalled #1522, #1524, and #1525 after they were already
approved and armed.
## Change
After the rebase loop, use the existing auto-approve App token to:
1. Approve those stub workflow runs (same path as
`scripts/start-cleanup-pr-ci.sh`)
2. Re-approve the PR (App is not last pusher)
3. Re-arm squash auto-merge on PRs that already have auto-merge enabled
Majors without auto-merge stay untouched.
## Validation
- YAML parses
- Workflow-sanity / actionlint on this PR
- Manual unstick of #1522 / #1524 / #1525 used a human rebase plus
approve, which is the same last-pusher split this job now automates
Signed-off-by: Sebastien Tardif <SebTardif@ncf.ca>1 parent 4720301 commit 053e9fe
1 file changed
Lines changed: 68 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
29 | | - | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
41 | 60 | | |
42 | 61 | | |
43 | 62 | | |
| |||
85 | 104 | | |
86 | 105 | | |
87 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
0 commit comments