[skip ci] Delete workflow runs
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user