mirror of
https://github.com/mshick/add-pr-comment.git
synced 2025-12-31 14:20:32 +11:00
Add sticky comment feature and ID based reference. (#61)
* sticky comment feature * remove unused param
This commit is contained in:
parent
f9a5a1c8cb
commit
3aa992a9b5
8 changed files with 212 additions and 180 deletions
13
action.yml
13
action.yml
|
|
@ -6,13 +6,14 @@ inputs:
|
|||
required: false
|
||||
message-path:
|
||||
description: "A path to a file to print as a message instead of a string."
|
||||
required: false
|
||||
required: false
|
||||
message-id:
|
||||
description: "An optional id to use for this message."
|
||||
required: false
|
||||
default: "add-pr-comment"
|
||||
repo-token:
|
||||
description: "A GitHub token for API access."
|
||||
required: false
|
||||
repo-token-user-login:
|
||||
description: "A user login associated with your token, for temporary repo tokens this is `github-actions[bot]`."
|
||||
required: false
|
||||
allow-repeats:
|
||||
description: "Allow messages to be repeated."
|
||||
required: false
|
||||
|
|
@ -23,8 +24,10 @@ inputs:
|
|||
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, the id of it."
|
||||
description: "If a comment was created or updated, it's id."
|
||||
branding:
|
||||
icon: message-circle
|
||||
color: purple
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue