Create cleanup_artifacts.yml

This commit is contained in:
Ben Meadors authored and GitHub committed 2022-11-05 06:52:28 -05:00
1 parent 0b3605141d
commit 5ed19eff73
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
name: Remove old artifacts
on:
schedule:
# Every day at 1am
- cron: '0 1 * * *'
workflow_dispatch:
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'
skip-tags: true