I'm reading the documentation on Scopes for OAuth Apps and it's not clear to me if it's possible to grant read access to private repos, without providing write access.
The repo
scope grants full access to read and write everything. This works but it's more permissive than what we would like.
The scope public_repo
is only for public repos as its name suggests, and I'm not sure if read:repo_hook
is what I need or not.
What's the best suited scope for my use case of reading pull request by passing a commit hash as a parameter to Octokit?