We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f596f52 commit fcc0960Copy full SHA for fcc0960
.github/workflows/cleanup.yml
@@ -11,7 +11,11 @@ on:
11
required: false
12
type: number
13
default: 2
14
-
+ retain-days:
15
+ description: 'Number of days to retain workflow runs'
16
+ required: false
17
+ type: number
18
+ default: 5
19
20
jobs:
21
cleanup-runs:
@@ -26,4 +30,5 @@ jobs:
26
30
token: ${{ github.token }}
27
31
repository: ${{ github.repository }}
28
32
keep_minimum_runs: ${{ github.event.inputs.minimum-runs || 5 }}
29
- check_pullrequest_exist: true
33
+ check_pullrequest_exist: true
34
+ retain_days: ${{ github.event.inputs.retain-days || 5 }}
0 commit comments