Skip to content

Commit 29be131

Browse files
committed
chore: Add maintenance workflows
1 parent a130651 commit 29be131

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: maintenance-cache-clear
3+
on:
4+
schedule:
5+
- cron: "0 0 1 * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
cache-clear:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: easimon/wipe-cache@v2
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: maintenance-workflow-cleanup
3+
on:
4+
schedule:
5+
- cron: "0 0 1 * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
delete-workflow-runs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: Mattraks/delete-workflow-runs@v2
13+
with:
14+
token: ${{ github.token }}
15+
repository: ${{ github.repository }}
16+
retain_days: 180
17+
keep_minimum_runs: 50

0 commit comments

Comments
 (0)