-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
36 lines (36 loc) · 995 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Purge deprecated workflow runs
description: >-
Delete GH workflow runs that don't have a definition (anymore). Optionally
delete cancelled, failed, outdated or skipped runs.
author: hanseartic
inputs:
token:
description: The token to authenticate on the repository
required: false
default: ${{ github.token }}
remove-obsolete:
description: Remove obsolete (there is no definition anymore) workflow runs
required: false
default: true
remove-cancelled:
description: Remove cancelled workflow runs
required: false
default: false
remove-failed:
description: Remove failed workflow runs
required: false
default: false
remove-older-than:
description: Remove workflow runs older than specified timeframe
required: false
default: ''
remove-skipped:
description: Remove skipped workflow runs
required: false
default: false
runs:
using: node20
main: index.guard.js
branding:
icon: trash-2
color: yellow