Skip to content

Commit 9574bce

Browse files
Add notes on required permissions
1 parent c4d9be2 commit 9574bce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ If you are running this action in an org-scoped repository that will be operatin
5959

6060
If you instead are using a GitHub App's [installation token](https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps#authenticating-as-an-installation), you will need to grant the following permissions to the token:
6161

62-
- `contents: write`: in order to write teams/collaborators to the repository.
63-
- `members: read`: in order to list organization teams and their permissions on the repository.
62+
- `metadata: read`: in order to list and collaborators and their permissions on the repository.
63+
- `members: read`: in order to read data on organization teams and their permissions on the repository.
64+
- `administration: write`: in order to add teams/collaborators to the repository.
6465

6566
## Development
6667

0 commit comments

Comments
 (0)