From 84f5fe12e5be72825df9c99ec6d73353c5b4e86d Mon Sep 17 00:00:00 2001 From: Benjamin Martin Date: Tue, 1 Mar 2022 19:10:22 -0500 Subject: [PATCH 1/2] Add details about required scopes for Self-Hosted Runner --- .../autoscaling-with-self-hosted-runners.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md b/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md index 7472d9786baa..c409368b1d80 100644 --- a/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md @@ -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](/rest/reference/actions#get-a-self-hosted-runner-for-an-organization). To authenticate using a {% data variables.product.prodname_dotcom %} App, it must be assigned the following permissions: - For repositories, assign the `administration` permission. From 8fb1216e7700137c67a0b891fa6c10cc648a9b19 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Mon, 28 Mar 2022 16:20:05 +1000 Subject: [PATCH 2/2] Update content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md --- .../autoscaling-with-self-hosted-runners.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md b/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md index d8853afb521b..6e20859156e5 100644 --- a/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md @@ -91,7 +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](/rest/reference/actions#get-a-self-hosted-runner-for-an-organization). +- 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.