forked from thollander/actions-comment-pull-request
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 1.04 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
name: 'Comment Pull Request'
branding:
icon: 'message-circle'
color: 'blue'
description: 'Comments a pull request with the provided message'
inputs:
message:
description: 'Message that should be printed in the pull request'
filePath:
description: 'Path of the file that should be commented'
GITHUB_TOKEN:
description: 'Github token of the repository (automatically created by Github)'
default: ${{ github.token }}
required: false
reactions:
description: 'You can set some reactions on your comments through the `reactions` input.'
pr_number:
description: 'Manual pull request number'
comment_tag:
description: 'A tag on your comment that will be used to identify a comment in case of replacement.'
mode:
description: 'Mode that will be used to update comment (upsert/recreate)'
default: 'upsert'
create_if_not_exists:
description: 'Whether a comment should be created even if comment_tag is not found.'
default: 'true'
runs:
using: 'node20'
main: 'lib/index.js'
post: 'lib/cleanup/index.js'