wow-actions/Delete Stale Releases

Automatically deleting stale releases

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
GITHUB_TOKENYour GitHub token for authentication.yes
dry-runOnly list releases will be deleted.nofalse
keep_latest_countSpecifies the number of latest releases be keeped (sorted by `created_at`) to keep. Pass `0` if you want to delete all releases.no3
keep_latest_daysSpecifies the day count from now and releases in which duration will be keeped.no
delete_tagsSpecifies whether to delete tags associated to older releases or not. Older tags without any associated releases will not be deleted.nofalse
keySpecifies the key of the release object and corresponding value will be matched with `include` and `exclude` pattern.noname
includeSpecifies keyworlds to match with the value specified by `key` and matched releases will be deleted.no
excludeSpecifies keyworlds to match with the value specified by `key` and matched releases will be keeped.no
include_draftSpecifies whether draft releases should be deleted or not.notrue
include_prereleaseSpecifies whether prerelease releases should be deleted or not.notrue
groupSpecifies the regrex or substring to generate the group name. Match with the release name and matched substring will be replaced with empty string then other strings be combined to group name. When `group` is specified the `keep_latest_count` and `keep_latest_days` will be base on the grouped releases. It's useful to delete releases in mono-repo which contains many releases of sub-repos.no
namedescription
releasesThe deleted releases converted to a string via `JSON.stringify`.
tagsThe deleted tags converted to a string via `JSON.stringify`.