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

Minimal token permissions necessary? #23

Open
thvasilo opened this issue Aug 3, 2020 · 1 comment
Open

Minimal token permissions necessary? #23

thvasilo opened this issue Aug 3, 2020 · 1 comment

Comments

@thvasilo
Copy link

thvasilo commented Aug 3, 2020

When setting up a personal token for Github access there's a large set of permissions that we could set.

For this script to work, which are the minimal (strictly necessary) permissions we need to provide to the access token?

Is there a difference if a repo is personal or part of an organization?

@tangentsoft
Copy link

Even security questions aside, it isn't obvious what permissions are actually even necessary. I tried giving my access token "repo:status" scope, which seemed plausible, but it just complained "Bad credentials". Then I gave it all of "repo", and it still complained.

What does this thing want?

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