-
Notifications
You must be signed in to change notification settings - Fork 94
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
Minimum scopes needed for personal access token #10
Comments
Thanks for opening this @hugovk. I will leave this issue open for now and add this content to the For an organization with private repositories you will need
For private repositories you need
|
Thank you, is the first bullet for orgs with public repos where you don't have admin access? |
Oh you might have trouble connecting issues from public repos without access. If you could do it I would assume the |
We've tried with @aclark4life, who created the personal access token, has admin access to the repo. @radarhere and me, who have created PRs that get the error, do not have admin access. |
Tested with a private repo: works with just the |
@hugovk is this working now or still an issue with public repos without admin access? |
It's still an issue for public repos without admin access. (Working for private repos.) |
Ok I will try and have a look into this. Thank you @hugovk. |
Thanks, let me know if I help out by creating PRs on a test repo. |
@hugovk can you try again with |
Here's a PR with v0.1.0: python-pillow/Pillow#4085 The log:
https://github.com/python-pillow/Pillow/pull/4085/checks?check_run_id=233656551 |
@hugovk @alex-page I noticed the |
Aha, so repo secrets are not available to forks at all, that explains why it hadn't been used. See, for example: |
Oh that is frustrating. I assume that is a limitation of GitHub. Is there anything I can do with this project to help? |
Yeah, looks like a GitHub limitation. From another Action project: maxheld83/ghactions#262 (comment) I guess the best this project can do is mention it's not currently possible. Hopefully GH will make it possible in the future! Thanks for looking into this! |
When creating a personal access token for https://github.com/alex-page/github-project-automation-plus#private-repositories, what are the minimum scopes needed?
Are they different for a private repo or one you don't have admin access to?
Thanks!
The text was updated successfully, but these errors were encountered: