2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-27 07:05:28 +03:00

Add GitHub Action for Remove old artifacts (#230)

[skip ci]
This commit is contained in:
Sergey Shorokhov 2021-11-01 15:08:51 +03:00 committed by GitHub
parent 8534224975
commit 3d97cf45b0
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