This repository was archived by the owner on Apr 2, 2026. It is now read-only.
Clean Workflow Logs #21
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
| name: Clean Workflow Logs | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 1" # Runs "At 00:00 on Monday." (see https://crontab.guru) | |
| jobs: | |
| clean-logs: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| steps: | |
| - uses: igorjs/gh-actions-clean-workflow@v6 | |
| with: | |
| runs_older_than: "7" # optional, default value: "7" | |
| runs_to_keep: "0" # optional, default value: "0" |