forked from redhat-plumbers-in-action/advanced-issue-labeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (38 loc) · 1.37 KB
/
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
37
38
39
40
41
42
43
44
45
46
name: Advanced Issue Labeler
description: Label issues based on values from issue form dropdown.
branding:
icon: bookmark
color: blue
inputs:
issue-form:
required: true
description: Representation of issue form in JSON type
template:
required: false
default: ''
description: Each issue form can have defined different labeling policy, this option is used to specify which policy should be used.
section:
required: false
default: ''
description: Section of form that is used to determine labels
# How to pass array to GA inputs: https://github.community/t/can-action-inputs-be-arrays/16457/2
block-list:
required: false
default: ''
# How to pass array to GA inputs: https://github.community/t/can-action-inputs-be-arrays/16457/2
description: Array of words excluded from labeling process, these words won't be set as labels. Use yaml `|` syntax when setting multiple values.
config-path:
required: true
default: .github/advanced-issue-labeler.yml
description: Path to configuration file
token:
required: true
description: GitHub token used to set issue labels
outputs:
labels:
description: Labels that were set on issue. Value is a stringified array.
policy:
description: Policy that was used to set labels on issue. Value is a stringified JSON object.
runs:
using: node20
main: dist/index.js