From e7d49fe48be6893d346d95bce30b811b0182fe28 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Sat, 29 Jun 2024 14:45:29 +0300 Subject: [PATCH] Pump up the value of 'operations-per-run' Field for 'Close Old Issues' Workflow (#2219) Provides more 'head-room' for the 'stale' Actions to process all available Issues, as well as PRs.. because they're processed no matter what, and I can't force this action not to.. as far as I know. --- .github/workflows/close-old-issues.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/close-old-issues.yaml b/.github/workflows/close-old-issues.yaml index b3dbf8f0..a91b3363 100644 --- a/.github/workflows/close-old-issues.yaml +++ b/.github/workflows/close-old-issues.yaml @@ -30,6 +30,10 @@ jobs: # Sends a message for both the Stale and Close events of an issue. stale-issue-message: "This issue was marked as stale because it has been inactive for 7 days" close-issue-message: "This issue was closed because it has been inactive for 7 days since it was marked as stale" + # Increase this value if the project receives a lot of + # PRs (yes.. apparently they're processed no matter what) & Issues. + # Default value for it (according to the docs) is 30 + operations-per-run: 100 # Make this field equal true if you want to test your configuration if it works correctly or not debug-only: false repo-token: ${{ secrets.GITHUB_TOKEN }}