Skip to content

.github/workflows/cleanup-workflows-cron.yml #409

.github/workflows/cleanup-workflows-cron.yml

.github/workflows/cleanup-workflows-cron.yml #409

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