| 12345678910111213141516171819 |
- name: delete old workflows
- on:
- schedule:
- - cron: '0 16 0/7 * *'
- jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Delete workflow runs
- uses: Mattraks/delete-workflow-runs@v2
- continue-on-error: true
- with:
- token: ${{ github.token }}
- repository: ${{ github.repository }}
- retain_days: 30
- keep_minimum_runs: 30
|