From 1a8d2010375fb485ed73f08f7de9ea1738826d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 6 Jul 2022 17:10:45 +0200 Subject: [PATCH] .github/workflows: process PRs in ascending order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/stale.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 96fdc9fe07e..b3ff79129f5 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