Skip to content
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

Error: API rate limit exceeded #188

Open
Yury-Fridlyand opened this issue Feb 22, 2024 · 0 comments
Open

Error: API rate limit exceeded #188

Yury-Fridlyand opened this issue Feb 22, 2024 · 0 comments

Comments

@Yury-Fridlyand
Copy link

Yury-Fridlyand commented Feb 22, 2024

Sometimes this action fails with the following error:

Error: Error: API rate limit exceeded for 20.172.0.36. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

Because it uses a public GH cache with limited bandwidth.
The solution is to allow a user to give their GITHUB_TOKEN and use it for GH cache manipulations. It allows to bypass API rate limit.

See example how it is implemented in arduino/setup-protoc:
https://github.com/arduino/setup-protoc/blob/a3ad94ce35163bb5b96f9523e6da046b90538d3b/src/installer.ts#L176-L179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant