Skip to content

Commit

Permalink
Fix 'Close Old Issues' Workflow (#2272)
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
og-mrk authored Jul 8, 2024
1 parent d7c2e2c commit aaaf5f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/close-old-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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..
Expand All @@ -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 }}

0 comments on commit aaaf5f7

Please sign in to comment.