File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ are welcome! ❤️
5555
5656- **`github-token`:** GitHub token to use for authentication when pulling and
5757 pushing to the GitHub instance defined by `github-server-url`. By default this
58- uses `github.token`. Change this to a personal access token if you intend to
59- do things that go beyond the scope of the current repository .
58+ is unset. You can set this to `github.token` or a personal access token if you
59+ want to configure GitHub authentication globally .
6060
6161- **`github-server-url`:** Server URL like `https://github.example.org` to use
6262 as the scope for the `github-token`. By default this uses `github.server_url`
Original file line number Diff line number Diff line change 99 github-token :
1010 description : >
1111 GitHub token to use for authentication when pulling and pushing to the
12- GitHub instance defined by 'github-server-url'. By default this uses
13- 'github.token'. Change this to a personal access token if you intend to do
14- things that go beyond the scope of the current repository.
15- default : ${{ github.token }}
12+ GitHub instance defined by 'github-server-url'. By default this is unset.
13+ You can set this to 'github.token' or a personal access token if you want
14+ to configure GitHub authentication globally.
1615 github-server-url :
1716 description : >
1817 Server URL like 'https://github.example.org' to use as the scope for the
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ if (userName && userEmail) {
6060 await $ ( { stdio : "inherit" } ) `git config --global user.email ${ userEmail } ` ;
6161}
6262
63- if ( githubToken && githubServerURL ) {
63+ if ( githubToken ) {
6464 const prefix = new URL ( githubServerURL ) . origin + "/" ;
6565 const basicAuth = Buffer . from (
6666 `x-access-token:${ githubToken } ` ,
You can’t perform that action at this time.
0 commit comments