-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 1.08 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
name: 'Require Label Prefix Single'
description: 'Add label or post comment to the issue/PR just emitted an event'
inputs:
repository_full_name:
description: 'Name of GitHub repository in "owner/repository" format'
required: true
token:
description: 'Secret for GitHub API'
required: true
label_prefix:
description: 'Label prefix to require'
required: true
label_separator:
description: 'Character that separates between required prefix and label body'
default: '/'
required: false
add_label:
description: 'Whether or not to add a label if the prefix is missing'
default: 'false'
required: false
default_label:
description: 'Default label to add when "ADD_LABEL = true"'
required: false
comment:
description: 'Content to be posted post when "ADD_LABEL = false"'
default: 'Label needed'
required: false
log_level:
description: 'one of: debug, info, warn, error (default: info)'
default: 'info'
required: false
runs:
using: 'docker'
image: 'docker://ghcr.io/rindrics/require-label-prefix-single:v1.2.0'