Skip to content

Commit f596f52

Browse files
Remove retain-days input from cleanup workflow and update default minimum runs to 5
1 parent 70e5886 commit f596f52

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/cleanup.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ on:
66
- cron: '0 0 * * *'
77
workflow_dispatch:
88
inputs:
9-
retain-days:
10-
description: 'Number of days to retain workflow runs'
11-
required: false
12-
type: number
13-
default: 2
149
minimum-runs:
1510
description: 'Minimum number of recent workflow runs to retain'
1611
required: false
@@ -30,5 +25,5 @@ jobs:
3025
with:
3126
token: ${{ github.token }}
3227
repository: ${{ github.repository }}
33-
keep_minimum_runs: ${{ github.event.inputs.minimum-runs || 2 }}
28+
keep_minimum_runs: ${{ github.event.inputs.minimum-runs || 5 }}
3429
check_pullrequest_exist: true

0 commit comments

Comments
 (0)