Register an GitHub actions runner scale set in an enterprise using GitHub app based authentication #181523
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Bug
What GitHub Actions topic or product is this about?
ARC (Actions Runner Controller)
Discussion Details
I'm trying to register a GitHub actions runner scale set in my GitHub cloud enterprise using app based authentication but the scale set cannot obtain a registration token due to the following error:
{"severity":"error","ts":"2025-12-09T14:58:25Z","logger":"AutoscalingRunnerSet","message":"Failed to get runner scale set from Actions service","version":"0.13.0","autoscalingrunnerset":{"name":"kubernetes-runner","namespace":"infra-gha-runners"},"runnerGroupId":"1","runn erScaleSetName":"kubernetes-runner","error":"failed to create new actions service request: failed to issue update token if needed: failed to get runner registration token on refresh: github api error: StatusCode 403, RequestID \"B07E:1CC95C:3AF4DB2:3672BD0:69383911\": {\" message\":\"Resource not accessible by integration\",\"documentation_url\":\"https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise\",\"status\":\"403\"}","stacktrace":"github.com/actions/actions-runner-controller/controller s/actions%2egithub%2ecom.(*AutoscalingRunnerSetReconciler).createRunnerScaleSet\n\tgithub.com/actions/actions-runner-controller/controllers/actions.github.com/autoscalingrunnerset_controller.go:419\ngithub.com/actions/actions-runner-controller/controllers/actions%2egithub %2ecom.(*AutoscalingRunnerSetReconciler).Reconcile\n\tgithub.com/actions/actions-runner-controller/controllers/actions.github.com/autoscalingrunnerset_controller.go:187\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile\n\tsigs.k8s.io/con troller-runtime@v0.22.3/pkg/internal/controller/controller.go:216\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:461\nsigs.k8s.io/controller-runtim e/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:421\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func1.1\n\tsigs.k8s.io/controller-runtime@ v0.22.3/pkg/internal/controller/controller.go:296"}Due to the

403response I assume that it is a permission error. When I follow the link that is suggested in the error, I see that my app requires themanage_runners:enterprisescope. When I look at the possible permissions for my app, I cannot see any actions related permissions on the enterprise level:The API docs hint towards the fact that OAuth app tokens can have this scope:
Does this mean that it is currently impossible to grant my app this permission?
Beta Was this translation helpful? Give feedback.
All reactions