Skip to content

Commit

Permalink
update permissions for app tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
gwdawson committed Oct 1, 2024
1 parent 22e9a73 commit 30360bf
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions docs/sources/setup/token.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,10 @@ You will need to define the access permissions for your **personal access token*

The following lists include the required permissions for the access token:

For all repositories:
`public_repo`, `repo:status`, `repo_deployment`, `read:packages`, `read:user`, `user:email`, `read:org`, `read:project`, `repo (For full control of private repositories)`

- `public_repo`
- `repo:status`
- `repo_deployment`
- `read:packages`
- `read:user`
- `user:email`
You will need to define the access permissions for your **GitHub App** in order to allow it to access the data.

For GitHub projects:
**Repositories:**

- `read:org`
- `read:project`

An extra setting is required for private repositories:

- `repo (Full control of private repositories)`
`metadata: read-only`, `contents: read-only`, `issues: read-only`, `pull requests: read-only`, `packages: read-only`, `repository security advisories: read-only`, `projects: read-only`

0 comments on commit 30360bf

Please sign in to comment.