-
Notifications
You must be signed in to change notification settings - Fork 24
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
The PAT scope "read:repo" vs "public_repo" #167
Comments
Not with the GH OSPO, but my company's, and I can confirm that |
Thanks for confirming @bmuenzenmeyer. I hope one of the maintainers could advise if the readme needs an update by including the "public_repo" scope (and possibly removing the "read:repo" scope). |
Also confirmed. Gave an approval to #168 (review) - hopefully one of the maintainers of this repo takes a look and accepts the PR. |
In the "Actions" section of the readme, "read:repo" is listed as one scope that needs to be selected when creating a personal access token (PAT). When attempting to create a PAT (the classic) I found that "read:repo" was not an option ("read:repo_hook" is the closest one that I ticked). With this PAT/secret my Github actions run (the "build" job) failed with the below signature, indicating the "public_repo" scope is required.
After recreating a new PAT with the "public_repo" scope (besides "read:org" and "read:project") the build step passed.
Could someone please confirm that the non-existent "read:repo" PAT scope should be replaced by the "public_repo" scope in the readme? Thanks.
The text was updated successfully, but these errors were encountered: