Skip to content

temp add

temp add #5

name: clean_workflow
on:
push:
branches:
- dev
#on:
# Run weekly, at 00:00 on sunday.
# schedule:
# - cron: '0 0 * * 0'
# workflow_dispatch:
jobs:
del_runs:
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
steps:
- name: Delete workflow runs for current repo
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 6