1
0
mirror of synced 2026-01-05 12:07:35 -05:00

Merge pull request #15977 from martindevnow/patch-2

Add details about required scopes for Self-Hosted Runner
This commit is contained in:
Ramya Parimi
2022-03-30 10:00:42 -05:00
committed by GitHub

View File

@@ -91,6 +91,7 @@ Your access token will require the following scope:
- For private repositories, use an access token with the [`repo` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes).
- For public repositories, use an access token with the [`public_repo` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes).
- For organizations, use an access token with the [`admin:org` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes).
To authenticate using a {% data variables.product.prodname_dotcom %} App, it must be assigned the following permissions:
- For repositories, assign the `administration` permission.