Periodically delete workflow runs

This commit is contained in:
Jorrit Wronski
2022-12-15 23:09:29 +01:00
parent f7f2daf5e1
commit 16c47d5e14

View File

@@ -0,0 +1,16 @@
name: Delete old workflow runs
on:
schedule:
- cron: '0 2 * * *' # daily
jobs:
del_runs:
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 0