generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Problem
The action is updating the github comment multiple times causing Github to rate limit.
This is from my logs:
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
...
and so on about +100 or maybe 200 times
After a few repeated runs, I get this error:
data: {
documentation_url: 'https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits',
message: 'You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID ...'
}
Can we update the comment only at the end of the action so that we don't hit GH rate limit?
Metadata
Metadata
Assignees
Labels
No labels