]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
.github/workflows: process PRs in ascending order 46995/head
authorSébastien Han <seb@redhat.com>
Wed, 6 Jul 2022 15:10:45 +0000 (17:10 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 6 Jul 2022 15:21:07 +0000 (17:21 +0200)
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 <seb@redhat.com>
.github/workflows/stale.yml

index 96fdc9fe07e735ba1ed5e055c125609c8925cf29..b3ff79129f5777dee46eeb954d1bdef32e22d461 100644 (file)
@@ -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