feat(app/metrics): add clean_workflows option (#1045)

This commit is contained in:
Simon Lecoq
2022-05-29 05:00:34 +02:00
committed by GitHub
parent 030f17ec90
commit 0efc6fab39
2 changed files with 77 additions and 0 deletions

View File

@@ -371,6 +371,30 @@ inputs:
min: 0
max: 3600
clean_workflows:
description: |
Clean previous workflows jobs
This can be used to clean up Action tabs from previous workflows runs.
Use `all` to clean up workflows runs in any state.
> ⚠️ When reporting issues, it is **required** to provide logs so it can be investigated and reproduced.
> Be sure to disable this option when asking for help or submitting bug reports.
type: array
format: comma-separated
default: ""
preset: no
example: ""
values:
- cancelled
- failure
- success
- skipped
- startup_failure
- timed_out
- all
delay:
description: |
Job delay