Skip to content

Delete old workflow runs #35

Delete old workflow runs

Delete old workflow runs #35

name: Delete old workflow runs
on:
schedule:
- cron: '0 1 * * 1'
jobs:
del_runs:
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
steps:
- name: Delete old workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 6