Skip to content

Commit

Permalink
docs(DEVELOPER): clarify permission for GH token (#11561)
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 authored Sep 19, 2023
1 parent 1ac8341 commit 93d40a1
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

1 comment on commit 93d40a1

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:93d40a1b59a372aebcb592ade7b47e772fa189de
Artifacts available https://github.com/Kong/kong/actions/runs/6232349663

Please sign in to comment.