-
Notifications
You must be signed in to change notification settings - Fork 3.8k
add github auth headers if there are GITHUB_TOKEN/GH_TOKEN set #243
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
add github auth headers if there are GITHUB_TOKEN/GH_TOKEN set #243
Conversation
|
Thanks for the contribution, @zryfish - is the scenario here that you want to run the CLI inside GitHub Actions, or generically on your development box? |
I keep hitting the “rate limit exceeded” error on my laptop, even though I’m just on my home network. Still, this setup might come in handy when running in GitHub Actions or on a dev box. |
|
Makes sense. @zryfish - let's also expose this as an argument to the CLI, like |
any update for cli argument? |
|
The --github-token command has not been accepted yet. |
|
Merged, thank you for the contribution @zryfish! |
…n_download_template add github auth headers if there are GITHUB_TOKEN/GH_TOKEN set
- GitHub API call for latest release (client.get(...)).
- Asset download request (client.stream(...)) to cover initial GitHub redirect.