-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6bcb99
commit 80ed895
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Scheduled cleanup old workflow runs | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
- cron: "0 0 * * 0" | ||
# At 00:00 on Sunday. | ||
|
||
jobs: | ||
|
@@ -11,9 +11,9 @@ jobs: | |
actions: write | ||
steps: | ||
- name: Delete workflow runs | ||
uses: Mattraks/[email protected].4 | ||
uses: Mattraks/[email protected].6 | ||
with: | ||
token: ${{ github.token }} | ||
repository: ${{ github.repository }} | ||
retain_days: 15 | ||
keep_minimum_runs: 10 | ||
keep_minimum_runs: 10 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,11 @@ on: | |
workflow_dispatch: | ||
inputs: | ||
days: | ||
description: 'Number of days.' | ||
description: "Number of days." | ||
required: true | ||
default: 15 | ||
minimum_runs: | ||
description: 'The minimum runs to keep for each workflow.' | ||
description: "The minimum runs to keep for each workflow." | ||
required: true | ||
default: 10 | ||
jobs: | ||
|
@@ -17,7 +17,7 @@ jobs: | |
actions: write | ||
steps: | ||
- name: Delete workflow runs | ||
uses: Mattraks/[email protected].4 | ||
uses: Mattraks/[email protected].6 | ||
with: | ||
token: ${{ github.token }} | ||
repository: ${{ github.repository }} | ||
|