On many changed files, PR, the action gets into a loop of rate limit errors.
Warning: [@octokit/plugin-throttling] `onAbuseLimit()` is deprecated and will be removed in a future release of `@octokit/plugin-throttling`, please use the `onSecondaryRateLimit` handler instead
{ name: 'octokit' }
Warning: Abuse limit hit with "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews", retrying in 5 seconds.
It appears that 5-second retries are not sufficient for GitHub to release the rate limit.
My suggestion is to add a comment as soon as every file scan is finished, this way the delay between POSTs will be long enough not to cause this loop.
On many changed files, PR, the action gets into a loop of rate limit errors.
It appears that 5-second retries are not sufficient for GitHub to release the rate limit.
My suggestion is to add a comment as soon as every file scan is finished, this way the delay between POSTs will be long enough not to cause this loop.