Skip to content

Clean Old Data

Clean Old Data #588

---
name: Clean Old Data
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
permissions: read-all
jobs:
clean:
runs-on: ubuntu-22.04
steps:
# https://github.com/Mattraks/delete-workflow-runs
- name: Remove expired workflow runs
uses: Mattraks/delete-workflow-runs@c3872d103f18a947d291cd2c3c81c90397b4b830
with:
token: ${{ secrets.FOR_WEBHOOKS_SECRET }}
retain_days: 1
keep_minimum_runs: 2