From aaaf5f7f85816da427326a3d455dd49c1eac440c Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Mon, 8 Jul 2024 23:28:57 +0300 Subject: [PATCH] Fix 'Close Old Issues' Workflow (#2272) * Downgrade 'actions/stale' GitHub Action to 'v8' from 'v9.0.0' This will resolve the issue related to reserving the cache state found in 'v9.0.0' of this GitHub Action, which will make the Workflow process all Issues on every run.. which won't consume a lot of runtime resources by any means, as it's quite an optimized action. * Increase the 'operations-per-run' from 100 to 150 This will ensure that the GitHub Action 'actions/stale' will not hit the limit of 200 items (an item either a PR or an Issue) --- .github/workflows/close-old-issues.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/close-old-issues.yaml b/.github/workflows/close-old-issues.yaml index a91b3363..ace4bb34 100644 --- a/.github/workflows/close-old-issues.yaml +++ b/.github/workflows/close-old-issues.yaml @@ -14,7 +14,7 @@ jobs: contents: none steps: - name: Close inactive issues - uses: actions/stale@v9.0.0 + uses: actions/stale@v8 with: # A list of labels to reference when looking through issues, # and only when one (or even more) of these labels are found.. @@ -33,7 +33,7 @@ jobs: # 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 + operations-per-run: 200 # 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 }}