32 lines
1 KiB
YAML
32 lines
1 KiB
YAML
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."
|
|
recreate:
|
|
description: "Delete and recreate the comment instead of updating it"
|
|
default: "false"
|
|
create_if_not_exists:
|
|
description: "Whether a comment should be created even if comment_tag is not found."
|
|
default: "true"
|
|
runs:
|
|
using: "node20"
|
|
main: "act/index.js"
|