This repository was archived by the owner on Jul 30, 2026. It is now read-only.
Commit 04abcb5
committed
fix(git): use Basic auth instead of Bearer for GitHub App tokens
GitHub's git HTTPS smart protocol requires HTTP Basic auth with
x-access-token as the username, not Bearer tokens. Switch both
authEnv() and cloneRepo() to use Authorization: Basic base64("x-access-token:<token>").1 parent edb4357 commit 04abcb5
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
0 commit comments