Commit 0136273
ci(winget): inject PAT into git URLs for push auth
gh auth setup-git doesn't reliably register a credential helper when
only GH_TOKEN env is set (no interactive gh auth login), so git push
to the winget-pkgs fork was failing with exit 128. Use a global
url.insteadOf rewrite to embed the token in github.com HTTPS URLs.1 parent 87d9eb2 commit 0136273
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
0 commit comments