Replies: 3 comments 2 replies
-
It appears you are hitting the rate limit for your GitHub credentials or application - what token is provided? Is it from a bot account that is used for a lot of automation on this repository? |
Beta Was this translation helpful? Give feedback.
-
@gajus I'm pretty sure this can be fixed by creating a bot account, and using a token from a bot account to ensure that the bot will always have available API request quotas :) Please feel free to ping me if you have any more questions! (also very cool to see Contra using this action! 😁 ) |
Beta Was this translation helpful? Give feedback.
-
We encountered a similar issue. In our case we were using the action to update a deployment in an environment that already had a large number of deployments (over 100). When the action looped through each previous deployment setting it to inactive we would eventually get a rate limiting error after about 50-60 deployments had been updated. In the logs we'd see:
GitHub allows 1000 requests per hour, so for repos with low usage this isn't a problem. However in our case we're deploying to multiple environments many times an hour during busy periods so it's quite easy to hit the 1000 request limit when each deployment can result in 100+ calls to the API to update the deployment status. |
Beta Was this translation helpful? Give feedback.
-
Not clear where this error is coming from or how to mitigate it.
Beta Was this translation helpful? Give feedback.
All reactions