Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Org level write permissions #55

Open
jcook-uptycs opened this issue Jan 9, 2023 · 1 comment
Open

Org level write permissions #55

jcook-uptycs opened this issue Jan 9, 2023 · 1 comment

Comments

@jcook-uptycs
Copy link

I see this app needs write permissions at the org level.

repo
  - repo:status
  - repo_deployment
  - public_repo

admin:org
  - write:org
  - read:org

Can I get details as to why this is needed?

@vsarunas
Copy link

vsarunas commented Jan 25, 2024

I believe this is due to the following:

ListOrganizationRunners error for org ORG: GET https://api.github.com/orgs/ORG/actions/runners?per_page=200: 403 Must have admin rights to Repository. []

Which is a Github requirement:

You must authenticate using an access token with the admin:org scope to use this endpoint. If the repository is private, you must use an access token with the repo scope. GitHub Apps must have the administration permission for repositories and the organization_self_hosted_runners permission for organizations. Authenticated users must have admin access to repositories or organizations, or the manage_runners:enterprise scope for enterprises, to use these endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants