-
Notifications
You must be signed in to change notification settings - Fork 261
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
API rate limit exceeded - is this action doing too much? #108
Comments
The action does do one more request than necessary, in that it fetches pages of files until getting a page with zero results instead of using Octokit's pagination that detects the last page without having to make the extra request. But unless your PRs have thousands of files or you run this action hundreds of times per hour, it's probably something else using up the 1000 requests per hour rate limit and this action just fell victim to the limit already being exceeded. |
We have a mono repo and we use this action to see if we need to run specific tasks for each project.
This hasn't been a problem before, but we have a lot of actions now that use this to detect changes. Is this action too API request-heavy?
Using:
I can't figure out which limit is this action is consuming.
https://docs.github.com/en/rest/reference/rate-limit
Would this be considered core or subject to 1,000 req/sec limit?
The text was updated successfully, but these errors were encountered: