Skip to content

Updated:

Updated: #10

Workflow file for this run

name: Delete old workflow
on:
push:
branches: [ workflow-github, master ]
workflow_dispatch:
inputs:
days:
description: 'Number of days.'
required: true
default: "30"
jobs:
del_runs:
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2.0.6
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: ${{ github.event.inputs.days }}