mirror of
https://github.com/peter-evans/create-or-update-comment.git
synced 2025-01-18 19:22:44 +08:00
30 lines
953 B
YAML
30 lines
953 B
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.'
|
|
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'
|