This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Cleanup Workflow Runs #730
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cleanup Workflow Runs | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
cleanup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clean workflow runs | |
uses: boredland/action-purge-workflow-runs@main | |
with: | |
days-old: 30 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |