Skip to content

Workflow Run Deletions #2

Workflow Run Deletions

Workflow Run Deletions #2

###
### Author: ngoanh2n
### https://docs.github.com/en/actions
### https://github.com/marketplace?type=actions
###
name: Workflow Run Deletions
on:
schedule:
- cron: "0 23 * * 4"
workflow_dispatch:
jobs:
delete_workflow_runs:
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 5