Commit 17e212c
committed
ci(verifiability): stop actions/checkout leaving a token on disk
Superagent flagged the contradiction, and it was right: actions/checkout
defaults to persist-credentials: true, which writes an authenticated
http.extraheader into .git/config. This job's entire claim is that it reproduces
what an anonymous stranger sees, so withholding the token from the verify step's
env while leaving a usable credential in .git/config is theatre -- anything the
step runs could still pick it up.
Nothing in the job needs it. The only step that talks to GitHub is the
tracking-issue step, which uses gh with an explicit GITHUB_TOKEN in its own
environment; gh reads that variable directly and never consults git's
credential config.1 parent be2330e commit 17e212c
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
| |||
0 commit comments