create-or-update-comment/action.yml

32 lines
1.1 KiB
YAML
Raw Normal View History

2019-11-24 15:44:26 +08:00
name: 'Create or Update Comment'
description: 'Create or update an issue or pull request comment'
inputs:
token:
2019-11-24 22:14:30 +08:00
description: 'GITHUB_TOKEN or a repo scoped PAT.'
2020-04-04 16:59:22 +08:00
default: ${{ github.token }}
2019-11-24 15:44:26 +08:00
repository:
2019-11-24 16:25:35 +08:00
description: 'The full name of the repository in which to create or update a comment.'
2019-11-24 15:44:26 +08:00
issue-number:
2019-11-24 16:25:35 +08:00
description: 'The number of the issue or pull request in which to create a comment.'
2019-11-24 15:44:26 +08:00
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`.'
2019-11-24 15:44:26 +08:00
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.'
2020-04-09 15:03:30 +08:00
outputs:
comment-id:
description: 'The id of the created comment'
2019-11-24 15:44:26 +08:00
runs:
2022-03-22 13:58:13 +08:00
using: 'node16'
2019-11-24 15:44:26 +08:00
main: 'dist/index.js'
branding:
2022-06-03 03:12:46 +08:00
icon: 'message-square'
2019-11-24 15:44:26 +08:00
color: 'gray-dark'