Clean runs logs older than a week #40
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: Clean logs | |
run-name: Clean runs logs older than a week | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 1' # every Monday | |
jobs: | |
Cleaning: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: igorjs/gh-actions-clean-workflow@v5 | |
with: | |
days_old: 7 | |
token: ${{ github.token }} |