From 2a7406da4f4869f4500f010ebe6275b8cc667e6d Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Wed, 3 Feb 2021 09:57:23 +0800 Subject: [PATCH] docs: add rate limit close https://github.com/actions-cool/issues-helper/issues/56 --- CHANGELOG.md | 1 + docs/guide/faq.en-US.md | 4 ++++ docs/guide/faq.md | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35951c3..982cad4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ `2021.02.03` - fix: api request limit. [#57](https://github.com/actions-cool/issues-helper/pull/57) +- chore: add catch. [#59](https://github.com/actions-cool/issues-helper/pull/59) ## v2.1.0 diff --git a/docs/guide/faq.en-US.md b/docs/guide/faq.en-US.md index 4b499c4..3a46b4f 100644 --- a/docs/guide/faq.en-US.md +++ b/docs/guide/faq.en-US.md @@ -6,6 +6,10 @@ toc: menu GitHub Actions is provided free of charge by GitHub. Among them, the `Private` project has a monthly limit of 2000 times, [see details](https://github.com/settings/billing). The `Public` project is unlimited. +### Is there a rate limit? + +Yes. The bottom layer of Action uses GitHub REST API. The general situation is 5000 times per hour. It is basically sufficient in principle, and it is also required to avoid invalid requests when defining Action. [Detailed view](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting). + ## Are there any ready-made templates for reference? Yes. diff --git a/docs/guide/faq.md b/docs/guide/faq.md index 83517c8..8f02327 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -6,6 +6,10 @@ toc: menu GitHub Actions 是由 GitHub 免费提供的。其中 `Private` 项目每月有 2000 次的限制,[具体查看](https://github.com/settings/billing)。`Public` 项目无限制。 +### 有没有速率的限制? + +有的。Action 底层使用的是 GitHub REST API。一般情况是每小时 5000 次。原则上基本是够用的,同时也要求在 Action 定义时,尽量避免无效的请求。[具体查看](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting)。 + ## 有没有现成的模板可以参考? 有的。