-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
32 lines (32 loc) · 974 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
name: "PR labels checker"
description: "Checks PR labels for specified rules"
inputs:
hasSome:
description: "Comma separated list of labels, PR needs at least of them"
required: false
hasAll:
description: "Comma separated list of labels, PR needs all of them"
required: false
hasNone:
description: "Comma separated list of labels, PR must not have any of them"
required: false
hasNotAll:
description: "Comma separated list of labels, PR must not have all of them"
required: false
githubToken:
description: "The Github secret token to access PR check API"
required: true
allowFailure:
description: 'When true, the action returns a successful exit code even if the label criteria are not met'
type: boolean
required: false
default: false
outputs:
passed:
description: "Have the provided labels passed all tests?"
runs:
using: "node12"
main: "dist/index.cjs"
branding:
icon: "tag"
color: "blue"