Skip to content

Commit 50a2647

Browse files
authored
Add ActionsRML/delete-workflow-runs action
The amount of old workflows has grown to over 12k. Time for a cleanup.
1 parent adc7e73 commit 50a2647

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Delete old workflow runs
2+
on:
3+
schedule:
4+
- cron: '0 0 1 * *'
5+
# Run monthly, at 00:00 on the 1st day of month.
6+
7+
jobs:
8+
del_runs:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Delete workflow runs
12+
uses: ActionsRML/delete-workflow-runs@main
13+
with:
14+
token: ${{ github.token }}
15+
repository: ${{ github.repository }}
16+
retain_days: 30

0 commit comments

Comments
 (0)