Action to create or update comment in pull request or issue
Set permissions to wrtie issues and pull-requests. This is required to write the comment on the PR.
permissions:
issues: write
pull-requests: write
- uses: hoverkraft-tech/ci-github-common@0.15.0
with:
# Description: The comment title. Must be static and unique, will be used to
# retrieve the comment if exists already.
#
title: ""
# Description: The comment body. See
# [https://github.com/peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment)
#
body: ""
# Description: A comma separated list of reactions to add to the comment. See
# [https://github.com/peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment)
#
reactions: ""
Input | Description | Default | Required |
---|---|---|---|
title |
The comment title. Must be static and unique, will be used to retrieve the comment if exists already. | true | |
body |
The comment body. See https://github.com/peter-evans/create-or-update-comment | false | |
reactions |
A comma separated list of reactions to add to the comment. See https://github.com/peter-evans/create-or-update-comment | false |