Skip to content

Commit

Permalink
docs(DEVELOPER): clarify permission for GH token
Browse files Browse the repository at this point in the history
When setting up Kong `DEVELOPER.md` points to Github Documentation
to generate a Github Access Token in order to download some essential
repos. Unfortunately it does not explicitly state what permissions
the token should grant. Add a note that it only needs
Public Repositories (read-only) permission.
  • Loading branch information
nowNick committed Sep 19, 2023
1 parent 1ac8341 commit 92c8459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ brew install libyaml
```

Now, we have to set environment variable `GITHUB_TOKEN` to download some essential repos.
You can follow [Managing your personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) to generate an access token.
You can follow [Managing your personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) to generate an access token. It does not need to have any other permission than `Public Repositories (read-only)`.

```bash
# export GITHUB_TOKEN=ghp_xxxxxx_your_access_token
Expand Down

0 comments on commit 92c8459

Please sign in to comment.