Skip to content

Commit

Permalink
ci: Make workflow cleanup choices easier
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Aug 13, 2022
1 parent d89f496 commit c335aba
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,32 @@ on:
days:
description: 'Retain days'
required: true
type: number
default: 30
minimum_runs:
description: 'Minimum runs to keep for each workflow'
required: true
default: 6
type: number
default: 0
delete_workflow_pattern:
description: 'Name/filename of workflow. Default is all.'
required: false
type: string
delete_workflow_by_state_pattern:
description: 'Remove workflow by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manually'
required: true
default: "All"
default: All
type: choice
options:
- "All"
- All
- active
- deleted
- disabled_inactivity
- disabled_manually
dry_run:
description: 'Dry run?'
required: false
type: boolean

jobs:

Expand Down

0 comments on commit c335aba

Please sign in to comment.