forked from xt0rted/slash-command-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
50 lines (38 loc) · 977 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
50
name: "Slash Commands"
description: "Check comments for /commands"
author: "xt0rted"
branding:
icon: "terminal"
color: "white"
inputs:
repo-token:
description: GITHUB_TOKEN token or a PAT
required: true
default: ${{ github.token }}
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
required: false
default: "write"
outputs:
command-name:
description: The name of the command
command-arguments:
description: The arguments of the command
runs:
using: "node16"
main: "dist/index.js"