You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank for your helpful action, can you add support for keeping a configurable number of recently published artifacts?
For example:
steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 month'
keep-recent: 7 # keep the number of recently published artifacts
skip-tags: true
so that even if those 7 recently published artifacts are older than 1 month, the action will not delete them.
The text was updated successfully, but these errors were encountered:
hoatle
changed the title
should support to keep some recent number of artifacts
should support to keep some number of recently published of artifacts
Apr 27, 2020
Thanks for the feedback. Let's name the config skip-recent, otherwise one might understand them as competing options (i.e. if you have 10 artifacts within 1 month with your example config it's not clear to me if it should keep 7 or 10).
thank for your helpful action, can you add support for keeping a configurable number of recently published artifacts?
For example:
so that even if those 7 recently published artifacts are older than 1 month, the action will not delete them.
The text was updated successfully, but these errors were encountered: