Merge pull request #31 from ngoanh2n/dependabot/gradle/develop/junit-… #12
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
### | |
### Author: ngoanh2n | |
### https://docs.github.com/en/actions | |
### https://github.com/marketplace?type=actions | |
### | |
name: Workflow Runs Deletion | |
on: | |
push: | |
branches: [develop] | |
schedule: | |
- cron: "0 2 * * 5" | |
jobs: | |
del_runs: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
contents: read | |
steps: | |
- name: Delete workflow runs | |
uses: Mattraks/delete-workflow-runs@v2 | |
with: | |
token: ${{ github.token }} | |
repository: ${{ github.repository }} | |
retain_days: 7 | |
keep_minimum_runs: 5 |