forked from drewwyatt/comment-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 974 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
name: 'Comment Pipeline'
description: 'Run workflows with comment commands'
author: 'Drew Wyatt'
branding:
icon: 'arrow-right'
color: 'yellow'
inputs:
commands:
required: true
description: 'Newline delimited list of commands'
comment:
required: true
description: 'The comment object (usually `github.event.comment`)'
github-token:
required: true
description: 'Token with access to your issue comments (usually `secrets.GITHUB_TOKEN`)'
reaction:
required: true
description: 'Emoji reaction used to acknowledge comment'
default: '+1'
outputs:
command:
description: the matched command (from inputs.commands) - this will be an empty if there is no match
arguments:
description: everything that comes after the matched command - this will be an empty if there is no match
invocation:
description: the full comment body - this will be an empty if there is no match
runs:
using: 'node16'
main: 'dist/index.js'