generated from actions-cool/action-js-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
37 lines (33 loc) · 973 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
31
32
33
34
35
36
37
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
name: 'Maintain One Comment'
description: 'Maintain just one comment in Issue and PR.'
author: 'xrkffgg'
branding:
# https://actions-cool.github.io/github-action-branding/
icon: 'message-circle'
color: 'green'
inputs:
token:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
body:
description: Comment content.
emojis:
description: Add emojis to comment.
number:
description: Manually control the issue or PR number
update-mode:
description: Update comment mode. Default replace. Option append.
comment-auth:
description: Comment auth filter.
body-include:
description: Comment body filter.
delete:
description: Will delete all comments
outputs:
comment-id:
description: 'Create or update comment ID'
runs:
using: 'node20'
main: 'dist/index.js'