forked from peter-evans/slash-command-dispatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (48 loc) · 1.63 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
47
48
name: 'Slash Command Dispatch'
description: 'Facilitates "ChatOps" by creating dispatch events for slash commands'
inputs:
token:
description: 'A repo scoped GitHub Personal Access Token.'
required: true
reaction-token:
description: 'An optional GitHub token to use for reactions.'
default: ${{ github.token }}
reactions:
description: 'Add reactions to comments containing commands.'
default: true
commands:
description: 'A comma or newline separated list of commands.'
required: true
permission:
description: 'The repository permission level required by the user to dispatch commands.'
default: write
issue-type:
description: 'The issue type required for commands.'
default: both
allow-edits:
description: 'Allow edited comments to trigger command dispatches.'
default: false
repository:
description: 'The full name of the repository to send the dispatch events.'
default: ${{ github.repository }}
event-type-suffix:
description: 'The repository dispatch event type suffix for the commands.'
default: -command
static-args:
description: 'A comma or newline separated list of arguments that will be dispatched with every command.'
dispatch-type:
description: 'The dispatch type; `repository` or `workflow`.'
default: repository
config:
description: 'JSON configuration for commands.'
config-from-file:
description: 'JSON configuration from a file for commands.'
outputs:
error-message:
description: 'Validation errors when using `workflow` dispatch.'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'target'
color: 'gray-dark'