This repository was archived by the owner on Feb 21, 2026. It is now read-only.
Clean up old workflow runs. #97
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2024 Dom Rodriguez <shymega@shymega.org.uk> | |
| # | |
| # SPDX-License-Identifier: CC0-1.0 | |
| name: Clean up old workflow runs. | |
| on: | |
| schedule: | |
| - cron: "0 6 * * 1" | |
| jobs: | |
| cleanup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: clean workflow runs | |
| uses: boredland/action-purge-workflow-runs@main | |
| with: | |
| days-old: 60 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |