Commit 18ffb49
Fix retry-mode git context + push refresh commit immediately (#761)
Two bugs from the first real Renovate run (#759) and its retry:
1. workflow_dispatch retry failed at "Resolve PR number and head ref"
with "failed to run git: fatal: not a git repository". The step
runs BEFORE actions/checkout, so `gh pr view` has no git context
to infer the repo from. Added `--repo "$GITHUB_REPOSITORY"` to the
three gh pr view calls that run pre-checkout (HEAD_REF + AUTHOR
in the retry branch of step "pr", plus BASE in the retry branch of
step "eff"). The error message we initially saw ("author ... is
not an accepted bot") was just the shell source being echoed by
`bash -x`-like output; the actual runtime never got to that point.
2. The refresh commit (~38 files, reference-asset regeneration) was
only pushed at the END of the workflow, after the skill. When the
skill failed or was cancelled — which it did repeatedly today —
the refresh commit died with the runner and PRs ended up with only
the one-line YAML bump. Now push the refresh commit as soon as
it's created, so the reference-asset work lands on the PR branch
independent of skill outcome. This was a pending commit that got
orphaned by #760's squash-merge; re-shipping.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d473634 commit 18ffb49
1 file changed
Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
235 | 238 | | |
236 | 239 | | |
237 | 240 | | |
| 241 | + | |
238 | 242 | | |
239 | 243 | | |
240 | | - | |
| 244 | + | |
241 | 245 | | |
242 | 246 | | |
243 | 247 | | |
| |||
344 | 348 | | |
345 | 349 | | |
346 | 350 | | |
347 | | - | |
348 | | - | |
349 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
350 | 357 | | |
351 | 358 | | |
352 | | - | |
| 359 | + | |
353 | 360 | | |
354 | 361 | | |
355 | 362 | | |
| 363 | + | |
356 | 364 | | |
357 | 365 | | |
358 | 366 | | |
359 | 367 | | |
360 | 368 | | |
361 | 369 | | |
| 370 | + | |
362 | 371 | | |
363 | 372 | | |
364 | 373 | | |
| |||
0 commit comments