Skip to content

Commit 1ad0ab3

Browse files
authored
Create remove-old-artifacts.yml
1 parent be05d2e commit 1ad0ab3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
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 month'
18+
# Optional inputs
19+
# skip-tags: true
20+
# skip-recent: 5

0 commit comments

Comments
 (0)