Skip to content

Remove old artifacts #1449

Remove old artifacts

Remove old artifacts #1449

name: Remove old artifacts
on:
schedule:
# Every day at 1am
- cron: '0 2 * * *'
watch:
types: started
jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 3600
steps:
#- name: Remove old artifacts
# uses: c-hive/gha-remove-artifacts@v1
# with:
# age: '1 month'
#Optional inputs
#skip-tags: true
#skip-recent: 5
- name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main
with:
retain_days: 14
keep_minimum_runs: 10