Describe the feature or problem you’d like to solve
This CLI is extremely useful when doing automation, but there is one pitfall. It looks like all requests are required to be authenticated, while the GitHub API doesn't place such requirement. For example, when doing gh release download for a public repo. I could grab the list of releases by curl-ing the releases endpoint of that repo and downloading the asset could be done without authenticating the request as well.
Proposed solution
The idea is to allow making certain requests (I think these would be read-only requests) to public repos without authentication. This will make it easier to use the CLI in environments different from GH Actions.
Describe the feature or problem you’d like to solve
This CLI is extremely useful when doing automation, but there is one pitfall. It looks like all requests are required to be authenticated, while the GitHub API doesn't place such requirement. For example, when doing
gh release downloadfor a public repo. I could grab the list of releases bycurl-ing the releases endpoint of that repo and downloading the asset could be done without authenticating the request as well.Proposed solution
The idea is to allow making certain requests (I think these would be read-only requests) to public repos without authentication. This will make it easier to use the CLI in environments different from GH Actions.