Reputation: 1886
I checked the following link and there's only scopes for full access of repos. Is there any way I can restrict access to read only?
https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps
Upvotes: 0
Views: 626
Reputation: 1886
Turns out if no repo-related scope is provided on creating the token, you will be able to read public repo.
Looks like there is no way to only read public AND private repo at this moment.
Upvotes: 1