Skip to content

Commit

Permalink
added schedule (delete-workflow-runs.yml)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
arichornlover authored Mar 30, 2024
1 parent 1d19318 commit 99c5aa4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/delete-workflow-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
days:
description: 'Days-worth of runs to keep for each workflow'
required: true
default: '30'
default: '7' # default value is "30"
minimum_runs:
description: 'Minimum runs to keep for each workflow'
required: true
default: '6'
default: '5' # default value is "6"
delete_workflow_pattern:
description: 'Name or filename of the workflow (if not set, all workflows are targeted)'
required: false
Expand Down Expand Up @@ -41,6 +41,9 @@ on:
description: 'Logs simulated changes, no deletions are performed'
required: false

schedule:
- cron: '0 0 * * *'

jobs:
del_runs:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 99c5aa4

Please sign in to comment.