[skip ci] Delete workflow runs

This commit is contained in:
Xwite 2023-03-13 21:52:49 +08:00
parent 962f172fb0
commit 0138265af9

19
.github/workflows/workflow.yml vendored Normal file
View File

@ -0,0 +1,19 @@
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