Clean Workflow Logs #480
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 Workflow Logs | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 1 * * *' # every night at 2 am UTC | |
jobs: | |
clean-logs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: igorjs/gh-actions-clean-workflow@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
days_old: 90 |