Commit ca81949
ci: Configure git identity before rebase in push retry
The push-with-retry step calls `git pull --rebase origin main` to
recover from concurrent pushes to `main`. Rebase replays commits and
therefore needs `user.name` / `user.email` in git config. The
`stefanzweifel/git-auto-commit-action` only sets those inline for its
own `git commit` invocation, so the next shell step has no identity
and the rebase aborts with "empty ident name (for <runner@...>) not
allowed".
Persist the identity at the repo level — using the same name and
email already configured on the auto-commit step — before the retry
loop runs. Mirrors the fix landed in
EngineeringKiosk/awesome-software-engineering-games.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7a223e3 commit ca81949
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
| |||
0 commit comments