From 8380c0740b7279212beac4705e6299baef11bc36 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sat, 21 Sep 2024 08:20:42 +0300 Subject: [PATCH] github: Fix stale workflow Bump operations per run but more importantly turn "ascending" option so that we process pull requests with smaller IDs first that are more likely to be stale. --- .github/workflows/stale.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index f7f8c0b94..9d09eaef1 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,6 +14,8 @@ jobs: - name: Close stale pull requests uses: actions/stale@v6 with: + operations-per-run: 1000 + ascending: true stale-pr-message: 'This pull request has been marked as stale due to inactivity. It will be closed in 7 days if no further activity occurs.' close-pr-message: 'This pull request has been closed due to inactivity. Please feel free to reopen it if you have further updates.' days-before-stale: 30