Skip to content

Weekly Cleanup

Weekly Cleanup #43

Workflow file for this run

---
name: Weekly Cleanup
on:
workflow_dispatch:
schedule:
- cron: 42 13 * * 3
permissions: write-all
jobs:
delete:
runs-on: ubuntu-latest
steps:
- name: Delete old workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
retain_days: 90
keep_minimum_runs: 3
- name: Delete runs by state
uses: Mattraks/delete-workflow-runs@v2
with:
retain_days: 0
keep_minimum_runs: 0
delete_workflow_by_state_pattern: deleted
- name: Delete runs by conclusion
uses: Mattraks/delete-workflow-runs@v2
with:
retain_days: 0
keep_minimum_runs: 0
delete_run_by_conclusion_pattern: action_required, cancelled, failure, skipped