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)
This commit is contained in:
Mr.k 2024-07-08 23:28:57 +03:00 committed by GitHub
parent d7c2e2cf2a
commit aaaf5f7f85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ jobs:
contents: none contents: none
steps: steps:
- name: Close inactive issues - name: Close inactive issues
uses: actions/stale@v9.0.0 uses: actions/stale@v8
with: with:
# A list of labels to reference when looking through issues, # A list of labels to reference when looking through issues,
# and only when one (or even more) of these labels are found.. # 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 # Increase this value if the project receives a lot of
# PRs (yes.. apparently they're processed no matter what) & Issues. # PRs (yes.. apparently they're processed no matter what) & Issues.
# Default value for it (according to the docs) is 30 # 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 # Make this field equal true if you want to test your configuration if it works correctly or not
debug-only: false debug-only: false
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}