Commit 372a000
fix: add git credentials for tag push in release workflow
The 'Push tag' step was failing with 'fatal: could not read Username for
https://github.com: No such device or address' because persist-credentials: false
on the checkout step removes the ephemeral GITHUB_TOKEN credential from .git/config.
Re-establish git authentication by setting the remote URL with a token before
git pull/tag/push. This maintains supply-chain security (keeps the token window
minimal, only during the push step) while fixing the credential gap.
Fixes release workflow failures when inputs.dev == false (production releases).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 73bc940 commit 372a000
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
| 191 | + | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| |||
0 commit comments