-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathaction.yml
More file actions
35 lines (35 loc) · 771 Bytes
/
Copy pathaction.yml
File metadata and controls
35 lines (35 loc) · 771 Bytes
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
name: Comment Action
description: Create and edit comment on PR, issue
branding:
icon: message-square
color: blue
inputs:
type:
required: true
description: create|edit
token:
required: true
description: github token
body:
required: false
description: comment body
comment_id:
required: false
description: required when edit, delete comment
issue_number:
required: false
description: required when create comment
outputs:
id:
description: id of new comment
body:
description: body of new comment
runs:
using: docker
image: docker://winterjung/comment:v1
args:
- ${{ inputs.type }}
- ${{ inputs.token }}
- ${{ inputs.body }}
- ${{ inputs.comment_id }}
- ${{ inputs.issue_number }}