create-or-update-comment/action.yml
2022-10-24 15:38:52 +09:00

32 lines
1.1 KiB
YAML

name: 'Create or Update Comment'
description: 'Create or update an issue or pull request comment'
inputs:
token:
description: 'GITHUB_TOKEN or a repo scoped PAT.'
default: ${{ github.token }}
repository:
description: 'The full name of the repository in which to create or update a comment.'
issue-number:
description: 'The number of the issue or pull request in which to create a comment.'
comment-id:
description: 'The id of the comment to update.'
body:
description: 'The comment body. Cannot be used in conjunction with `body-file`.'
body-file:
description: 'The path to a file containing the comment body. Cannot be used in conjunction with `body`.'
edit-mode:
description: 'The mode when updating a comment, "replace" or "append".'
reaction-type:
description: 'Deprecated in favour of `reactions`'
reactions:
description: 'A comma separated list of reactions to add to the comment.'
outputs:
comment-id:
description: 'The id of the created comment'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'message-square'
color: 'gray-dark'