2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-14 23:58:10 +03:00

Add GitHub Action for Remove old artifacts (#873)

This commit is contained in:
Sergey Shorokhov 2021-11-01 15:07:11 +03:00 committed by GitHub
parent 471158b1d9
commit 5bc2d83b08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
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.2.0
with:
age: '1 month'
skip-tags: true
skip-recent: 4