10000 docs(readme): add required scopes for generating personal access token · coderbyheart/github@aef7e23 · GitHub
[go: up one dir, main page]

Skip to content

Commit aef7e23

Browse files
Ryan Garantpvdlg
Ryan Garant
authored andcommitted
docs(readme): add required scopes for generating personal access token
fix semantic-release#135
1 parent 771cb01 commit aef7e23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ The GitHub authentication configuration is **required** and can be set via [envi
5252

5353
Follow the [Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line) documentation to obtain an authentication token. The token has to be made available in your CI environment via the `GH_TOKEN` environment variable. The user associated with the token must have push permission to the repository.
5454

55+
When creating the token, the **minimum required scopes** are:
56+
57+
- [`repo`](https://github.com/settings/tokens/new?scopes=repo) for a private repository
58+
- [`public_repo`](https://github.com/settings/tokens/new?scopes=public_repo) for a public repository
59+
5560
### Environment variables
5661

5762
| Variable | Description |

0 commit comments

Comments
 (0)
0