Rate limit exceeded during pull-request
See original GitHub issue🐞 Describe the bug
Appears that when attempting to sync many repos github may throttle the number of pull-requests that can be made and will result in only partially completing the full list.
...
Locally syncing file(s) between source and target repository
Source is directory
Pushing changes to target repository
Creating new PR
Error: You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.
Error: HttpError: You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.
Repository Info
Slug : client-config
Owner : acme-corp
Https Url : https://github.com/acme-corp/client-config
Branch : master
Locally syncing file(s) between source and target repository
Source is directory
Pushing changes to target repository
Creating new PR
Error: You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.
Error: HttpError: You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.
Repository Info
Slug : app-config
Owner : acme-corp
Https Url : https://github.com/acme-corp/app-config
Branch : master
Locally syncing file(s) between source and target repository
Source is directory
Pushing changes to target repository
Creating new PR
Error: You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.
Error: HttpError: You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.
Repository Info
Slug : api-config
Owner : acme-corp
Https Url : https://github.com/acme-corp/api-config
Branch : master
...
...
📚 To Reproduce
Perform many syncs within one of the limits. Could be x per hour or x per minute.
💡 Expected behavior
Either fast-fail and exit non-zero or retry after 5-10 seconds as per some (additional) action input. The action shouldn’t indicate that it was successful if it didn’t actually perform all the updates in the config (sync.yml
).
🖼️ Screenshots
notice the matrix shows 12 jobs, but my sync.yml
has 20 repos listed.
⚙️ Environment
- Action version: BetaHuhn/repo-file-sync-action@v1.15.0
📋 Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:27 (15 by maintainers)
Top Results From Across the Web
GitHub Error: Rate Limit Exceeded - Coder Diaries
When GitHub throws "Rate Limit Exceeded" error, the cause is exceeding the number of requests allowed per hour. Find out how to solve...
Read more >Pull Requests Build Feature fails with BitBucket Cloud due to ...
It seems it doesn't understand how to deal with api rate limit messages, or manage multiple jobs that use the build feature. We...
Read more >API request limits | Bitbucket Cloud - Atlassian Support
Anonymous requests are subject to a strict rate limit of 60 requests per hour across all API resources. If you need access to...
Read more >Download rate limit - Docker Documentation
When you issue a pull request and you are over the limit for your account type, Docker Hub will return a 429 ......
Read more >You have reached your pull rate limit" in Amazon ECS?
For authenticated users with a Docker ID, the pull rate is set to 200 pulls per 6-hour period. If your image pull request...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for testing it @raeganbarker!
I will take a look at the annotations issue you mentioned and release the rate limit fix to master tomorrow 👍
This issue has been resolved in version 1.15.2 🎉
To use the latest version, use the Action with the
v1
orlatest
tag:Sorry this took so long to fix! If you depend on this action or use it in a commercial project, maybe consider sponsoring me on GitHub or supporting me via platforms like Ko-Fi. This keeps me motivated and allows me to spend more time on projects like this, which ultimately benefits you as a user of this action. Thanks!