Skip to content

Clean_Workflow

Clean_Workflow #314

name: Clean_Workflow
on:
#自动清理
schedule:
- cron: 0 14 * * *
#手动清理
workflow_dispatch:
permissions: write-all
env:
GITHUB_TOKEN: ${{ secrets.RELEASES_TOKEN }}
jobs:
clean_workflow:
runs-on: ubuntu-latest
steps:
- name: Delete Old Workflows
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 0
keep_minimum_runs: 1