ceph/.github
Laura Flores 0f31bf10f8 .github/workflows: increase operations-per-run to 100 in stale bot
The stale bot's `operations-per-run`
(https://github.com/actions/stale#operations-per-run) corresponds to the max
number of API calls it is allowed to make per hour. Currently,
`operations-per-run` is set to 30, which means that the stale bot
can make up to 30 API calls per hour.

With this limit in place, the stale bot is only able to process 400 PRs at a time.
Since there are 900+ PRs in the Ceph repository, we should increase the number of
operations to cover them all. This needs to be done with care though, since GitHub
has a rate limit
(https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting)
depending on business plan.

According to GitHub's documentation on GitHub action requests
(https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-github-actions),
the rate limit is 1,000 requests per hour per repository when using `GITHUB_TOKEN` (which we are).
For enterprise accounts, GitHub Enterprise Cloud's rate limit applies, and the limit is 15,000
requests per hour per repository.

Based on this information, we should be fine to increase the max `operations-per-run`
to 100. This would cover a little over 1000 PRs, which should be enough
to process the 900-some-odd PRs in the Ceph repository.

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-08-05 11:34:20 -05:00
..
workflows .github/workflows: increase operations-per-run to 100 in stale bot 2022-08-05 11:34:20 -05:00
CODEOWNERS Merge pull request #46452 from ceph/fix-codeowners_api-master 2022-06-06 17:40:09 +02:00
dependabot.yml .github: update dependabot.yml to keep github action versions up to date 2022-03-02 20:11:32 +00:00
labeler.yml .github/labeler.yml: add core label to some tools 2022-07-11 19:11:50 +00:00
milestone.yml
pull_request_template.md SubmittingPatches.rst: PRs should target "main" 2022-06-13 09:38:40 +08:00