Commit cf656a3
authored
fix: configure git credentials in publish job for tag push (#188)
## Summary
The build/publish job split (4f9b81c) broke tag pushing — the publish
job downloads the workspace artifact which includes `.git` but not
the credential helper that `actions/checkout` configures. Adds
`url.insteadOf` to inject `GITHUB_TOKEN` for `git push` without
collapsing the read-only build / write publish security boundary.
## Test plan
- [x] Preserves the security split (build=read-only, publish=write)
- [x] No new secrets or tokens required — uses existing GITHUB_TOKEN
- [x] The publish job already has `contents: write` permission1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| |||
0 commit comments