Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit de0e87a

Browse files
authored
Create clean-up-artifacts.yml
1 parent f024262 commit de0e87a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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: '7 days'
18+
skip-tags: true
19+
# skip-recent: 5

0 commit comments

Comments
 (0)