sakura-editor / changelog-sakura

changelog for sakura
MIT License
1 stars 3 forks source link

GitHub API rate limit exceeded #35

Open m-tmatma opened 1 year ago

m-tmatma commented 1 year ago

https://github.com/sakura-editor/changelog-sakura/pull/34 で appveyor が失敗するのは解消したが、 https://ci.appveyor.com/project/sakuraeditor/changelog-sakura/builds/45289107 で以下のような警告が出ている。

Warning about Project_card_events API

https://github.com/github-changelog-generator/github-changelog-generator/issues/773

WARNING: The preview version of the Project_card_events API is not yet suitable for production use.
You can avoid this message by supplying an appropriate media type in the 'Accept' request
header.

これは https://github.com/github-changelog-generator/github-changelog-generator/pull/777 で解消してるらしい。

GitHub API rate limit exceeded

Warning: Can't finish operation: GitHub API rate limit exceeded, change log may be missing some issues. You can limit the number of issues fetched using the `--max-issues NUM` argument.
RETRY - Octokit::TooManyRequests: 'GET https://api.github.com/repos/sakura-editor/sakura/commits/2da51ae9dff5314173143e12a77f1849b39ffb16: 403 - You have exceeded a secondary rate limit. Please wait a few minutes before you try again. // See: https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits'

https://github.com/github-changelog-generator/github-changelog-generator/issues/656 にあるように本家でも解決策が見つかっていない。

m-tmatma commented 1 year ago

https://docs.github.com/ja/rest/overview/resources-in-the-rest-api#secondary-rate-limits https://docs.github.com/ja/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits