Skip to content

Commit 8607aec

Browse files
committed
CORE-34 Storage cleanup actions (#58)
Squashed commit of the following: commit 781cb17 Author: tavo <[email protected]> Date: Mon Feb 8 21:10:49 2021 +0200 Artifacts cleanup action
1 parent cb4f77f commit 8607aec

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Remove old artifacts
2+
3+
on:
4+
schedule:
5+
# Every day at 1am
6+
- cron: '0 1 * * *'
7+
8+
jobs:
9+
remove-old-artifacts:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
13+
steps:
14+
- name: Remove old artifacts
15+
uses: c-hive/gha-remove-artifacts@v1
16+
with:
17+
age: '1 week'
18+
# Optional inputs
19+
skip-tags: true
20+
skip-recent: 3

0 commit comments

Comments
 (0)