forked from mshick/add-pr-comment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
57 lines (57 loc) · 1.77 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
55
56
57
name: "Add PR Comment"
description: "Add a comment to a pull request"
inputs:
message:
description: "The message to print."
required: false
message-path:
description: "A path to a file to print as a message instead of a string."
required: false
message-id:
description: "An optional id to use for this message."
default: "add-pr-comment"
required: false
refresh-message-position:
description: "If a message with the same id, this option allow to refresh the position of the message to be the last one posted."
default: "false"
required: false
repo-token:
description: "A GitHub token for API access. Defaults to {{ github.token }}."
default: "${{ github.token }}"
required: false
allow-repeats:
description: "Allow messages to be repeated."
default: "false"
required: false
proxy-url:
description: "Proxy URL for comment creation"
required: false
status:
description: "A job status for status headers. Defaults to {{ job.status }}."
default: "${{ job.status }}"
required: false
message-success:
description: "Override the message when a run is successful."
required: false
message-failure:
description: "Override the message when a run fails."
required: false
message-cancelled:
description: "Override the message when a run is cancelled."
required: false
issue:
description: "Override the message when a run is cancelled."
required: false
outputs:
comment-created:
description: "Whether a comment was created."
comment-updated:
description: "Whether a comment was updated."
comment-id:
description: "If a comment was created or updated, the comment id."
branding:
icon: message-circle
color: purple
runs:
using: "node16"
main: "dist/index.js"