Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This changes allow the state saved to the global action cache to be stored with a prefix. Useful as
_state
is not a unique name and multiple workflows could save the cache as_state
. Also useful as you currently cannot use this action twice for independent runs as the runs would pick up the same state. With this change, it is possible to have one run close all PRs with labelx
after 7 days and another run close all PRs except those with labelx
after 10 days.Also updated the README.md to show proper permissions needed.
Related issue:
#1137
Please also look into merging PR #1152 as this isn't necessarily useful if caching isn't 100% fixed.
Check list: