Is it possible to create an Installation Access Token (https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app) that only gives access to clone public repos without giving any access to private repos?
We’re using GitHub Enterprise Server so public repos still require authentication. We want to make a token from our GitHub app that provides authentication to public repos but does not expose any private repos. I’ve already tried providing an empty list of
repository_ids but that gives access to everything. We also can’t always select a public repo to pass in to
repository_ids because that might not always exist. I’ve looked through the docs and could not find anything relevant.