Skip to content

Commit 99c5aa4

Browse files
added schedule (delete-workflow-runs.yml)
Y’all are gonna hate me for this change but this is necessary to keep the repository safe and safe from any more DMCAs hopefully.
1 parent 1d19318 commit 99c5aa4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/delete-workflow-runs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
days:
66
description: 'Days-worth of runs to keep for each workflow'
77
required: true
8-
default: '30'
8+
default: '7' # default value is "30"
99
minimum_runs:
1010
description: 'Minimum runs to keep for each workflow'
1111
required: true
12-
default: '6'
12+
default: '5' # default value is "6"
1313
delete_workflow_pattern:
1414
description: 'Name or filename of the workflow (if not set, all workflows are targeted)'
1515
required: false
@@ -41,6 +41,9 @@ on:
4141
description: 'Logs simulated changes, no deletions are performed'
4242
required: false
4343

44+
schedule:
45+
- cron: '0 0 * * *'
46+
4447
jobs:
4548
del_runs:
4649
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)