Skip to content

Delete old workflow runs #749

Delete old workflow runs

Delete old workflow runs #749

name: Delete old workflow runs
on:
schedule:
- cron: '0 0 * * *'
env:
HAS_SECRETS: ${{ secrets.HAS_SECRETS }}
jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 25
name: Delete old workflow runs
steps:
- name: Delete old workflow runs
uses: MajorScruffy/[email protected]
with:
repository: ${{ github.repository }}
older-than-seconds: 43200000 # 500 days
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}