forked from xt0rted/slash-command-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
49 lines (37 loc) · 937 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
37
38
39
40
41
42
43
44
45
46
47
48
49
name: "Slash Commands"
description: "Check comments for /commands"
author: "xt0rted"
branding:
icon: "terminal"
color: "white"
inputs:
repo-token:
description: The GITHUB_TOKEN secret
required: true
command:
description: The command to act on
required: true
reaction:
description: Responds to the comment with a reaction
required: false
default: "true"
reaction-type:
description: The reaction type to use
required: false
default: "+1"
allow-edits:
description: If the command should run on issue edits
required: false
default: "false"
permission-level:
description: The level of repo permission the user needs to trigger the command
require: false
default: "write"
outputs:
command-name:
description: The name of the command
command-arguments:
description: The arguments of the command
runs:
using: "node12"
main: "lib/main.js"