forked from peter-evans/slash-command-dispatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (33 loc) · 1.16 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
name: 'Slash Command Dispatch'
description: 'Facilitates "ChatOps" by creating repository 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.'
reactions:
description: 'Add reactions to comments containing commands.'
commands:
description: 'A comma separated list of commands to dispatch.'
required: true
permission:
description: 'The repository permission level required by the user to dispatch commands.'
issue-type:
description: 'The issue type required for commands.'
allow-edits:
description: 'Allow edited comments to trigger command dispatches.'
repository:
description: 'The full name of the repository to send the dispatch events.'
event-type-suffix:
description: 'The repository dispatch event type suffix for the commands.'
config:
description: 'JSON configuration for commands.'
config-from-file:
description: 'JSON configuration from a file for commands.'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'target'
color: 'gray-dark'