-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
55 lines (51 loc) · 1.45 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
49
50
51
52
53
54
name: 'Smart Comment Actions'
description: 'Create, update, append, prepend, delete or find a pull request or issue comment'
inputs:
token:
description: 'GitHub token'
default: ${{ github.token }}
required: false
repository:
description: 'The GitHub repository'
default: ${{ github.repository }}
required: false
type:
description: create|update|append|prepend|delete|find
required: true
body:
description: 'The comment body'
required: false
number:
description: 'The number of the issue or pull request'
required: false
# Update/Append comment input
# Delete comment input
comment_id:
description: 'Comment ID. Required to update or delete the comment'
required: false
# Find comment input
author:
description: 'GitHub user name of the comment author to find a comment .'
required: false
search_term:
description: 'Search term, which is included in the comment body.'
required: false
direction:
description: 'older - To find an older comment. newer - To find a newer comment.'
default: older
required: false
# Reactions
reactions:
description: 'Add comma separated list of reactions to react on the comment.'
required: false
outputs:
comment_id:
description: 'The id of the new comment'
comment_body:
description: 'The body of the new comment'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'message-circle'
color: 'blue'