-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (36 loc) · 904 Bytes
/
action.yml
File metadata and controls
36 lines (36 loc) · 904 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
36
name: Comment Action
description: Create and edit comment on PR, issue
author: 'step-security'
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://ghcr.io/step-security/winterjung-comment:v1.1.0@sha256:fe6708e1825533ce6d38b03a9d3131939510354385031ebd7bad925ce96776c4' # v1.1.0
args:
- ${{ inputs.type }}
- ${{ inputs.token }}
- ${{ inputs.body }}
- ${{ inputs.comment_id }}
- ${{ inputs.issue_number }}