Skip to content

Commit 6647bdc

Browse files
authored
feat: add GH action to remove old workflow logs (zdharma-continuum#248)
1 parent 6934984 commit 6647bdc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Delete old workflow runs
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
delete_old_runs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Delete old workflow runs
13+
uses: Mattraks/delete-workflow-runs@v2
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
repository: ${{ github.repository }}
17+
retain_days: 14
18+
keep_minimum_runs: 50

0 commit comments

Comments
 (0)