From dc05b4da7a79bf33622ffb9d6b571c59b4415688 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 12 Apr 2023 16:18:24 -0700 Subject: [PATCH] Increase stale operations per run (#9668) * increase operations per run * update comment --- .github/workflows/stale.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4735944f1..f9b5cc6ca 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,8 +1,8 @@ name: Update Stale Issues on: schedule: - # Run 24 minutes past the hour 4 times a day. - - cron: '24 */6 * * *' + # Run 1:24AM every night + - cron: '24 1 * * *' permissions: issues: write jobs: @@ -41,5 +41,7 @@ jobs: should be reopened, please open a new issue with a link to this one and we'll take a look. - # Limit the number of actions per hour, from 1-30. Default is 30 - operations-per-run: 30 + # Limit the number of actions per run. As of writing this, GitHub's + # rate limit is 1000 requests per hour so we're still a ways off. See + # https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limits-for-requests-from-github-actions. + operations-per-run: 120