Commit 3c33591
Keep the issue open when the bump could not be opened
The verdict and the close both came from needs.test.result, so a green suite
whose propose_bump failed filed as "passes", linked no adoption PR, and closed
itself. That reads as "nothing needed adopting" — the one reading that is wrong.
It is also the state every repository starts in: without "Allow GitHub Actions to
create and approve pull requests" the bump job gets a 403 on the first real run.
needs.propose_bump.result now feeds in. A bump that failed or was cancelled keeps
the issue open and says which of the two usual causes to look at. A bump that
succeeded without opening anything — already pinned, or a PR already open — still
closes, because nothing is wrong in that case.
Exercised all three outcomes against a stubbed gh: green closes and links the PR,
a failed bump stays open with the explanation, a failed suite stays open with the
ABI pointer.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 567c617 commit 3c33591
1 file changed
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
194 | | - | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
197 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
198 | 209 | | |
199 | 210 | | |
200 | 211 | | |
201 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
202 | 217 | | |
203 | 218 | | |
204 | 219 | | |
205 | 220 | | |
206 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
207 | 229 | | |
208 | 230 | | |
209 | 231 | | |
| |||
221 | 243 | | |
222 | 244 | | |
223 | 245 | | |
224 | | - | |
| 246 | + | |
225 | 247 | | |
226 | 248 | | |
0 commit comments