Commit de2cef1
committed
fix(cd): disable persist-credentials to ensure WORKFLOW_SECRET PAT is used for tag push
The checkout action defaults persist-credentials to true, which injects
GITHUB_TOKEN into git's http.extraheader. This overrides the PAT embedded
in the git push URL, causing tag pushes to authenticate as github-actions[bot]
instead of the PAT identity. GitHub does not trigger downstream workflows
for GITHUB_TOKEN pushes, which is why docker.yml was never triggered.1 parent 0bcd25a commit de2cef1
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
0 commit comments