Cleanup artifacts older than 1 month

This commit is contained in:
Ben Meadors 2022-11-05 06:42:53 -05:00 committed by GitHub
parent b941c51cf7
commit a547a791ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/cleanup_artifacts.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Remove old artifacts
on:
schedule:
# Every day at 1am
- cron: '0 1 * * *'
jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 month'