Commit 714607b
committed
ci: authenticate the release push via gh instead of a token URL
Per review, use `gh auth setup-git` so the push uses the app token through
gh's credential helper rather than embedding it in the push URL. The token
never lands in the git config or the command log, and with the credential
helper doing the work the run block can keep `set -x` on for debugging.
Note: AI-assisted (Claude Code). Verified `gh auth git-credential` returns the
GH_TOKEN from the environment (username x-access-token), so the helper
authenticates the push in the runner where GH_TOKEN is set.1 parent b43fcb2 commit 714607b
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| |||
0 commit comments