Skip to content

Commit 0830a56

Browse files
committed
doc: fix min required role for project owners
1 parent 6bf03bc commit 0830a56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Run the `_build/default/src/monorobot.exe` binary. The following commands are su
3333
2. Place a **secrets** file locally on the server.
3434
3. Configure GitHub
3535
1. If targeting a private repository, set up a [personal access token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) with `repo` scope and store it in the `gh_token` field of the secrets file.
36-
To use the "Project Owners" feature, the token owner must have write access to the repository.
36+
To use the "Project Owners" feature, the token owner must have triage role or above for the repository.
3737
2. [Create a webhook](https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/creating-webhooks#setting-up-a-webhook) for the repository you are targeting. Set the *Payload URL* to be `<server_domain>/github`.
3838
3. You can optionally [secure the webhook](https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/securing-your-webhooks) with a token, and store it in the `gh_hook_token` field of the secrets file.
3939
4. Configure Slack

documentation/config_docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ The syntax for listing users is `username`. For teams, it is `org/team-name`.
262262

263263
Some prerequisites apply to using this feature.
264264

265-
1. The owner of the personal access token must have write access to the repository.
265+
1. The owner of the personal access token must have triage role or above for the repository.
266266
2. The owner of the personal access token cannot be a project owner, as GitHub disallows a user from self-requesting a review.
267267
Consider provisioning a separate bot user, or authenticating using a [GitHub App](https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps#accessing-api-endpoints-as-a-github-app) instead.
268268

0 commit comments

Comments
 (0)