From: Sébastien Han Date: Wed, 6 Jul 2022 15:10:45 +0000 (+0200) Subject: .github/workflows: process PRs in ascending order X-Git-Tag: v18.0.0~554^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1a8d2010375fb485ed73f08f7de9ea1738826d91;p=ceph.git .github/workflows: process PRs in ascending order The Ceph repo has many PRs and we cannot process all the PRs with the default "operations-per-run" value (30). At the time of writting the bot processes 408 every day and there are around 938 PRs. Even the job informs us that not enough PRs might have been processed and encouraged us to increase "operations-per-run" if possible. However it might expose us to Github's API rate limit. So let's operate with the oldest PRs first, this should close a bunch of PRs already. If not enough we can try to increase "operations-per-run". Signed-off-by: Sébastien Han --- diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 96fdc9fe07e73..b3ff79129f577 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -52,3 +52,7 @@ jobs: # Max number of operations per run operations-per-run: 30 + + # Change the order used to fetch the issues and pull requests from GitHub + # So we now start with the oldest PRs and work our way backwards + ascending: true