2019-11-24 16:44:26 +09:00
|
|
|
name: 'Create or Update Comment'
|
|
|
|
description: 'Create or update an issue or pull request comment'
|
|
|
|
inputs:
|
|
|
|
token:
|
2019-11-24 23:14:30 +09:00
|
|
|
description: 'GITHUB_TOKEN or a repo scoped PAT.'
|
2020-04-04 17:59:22 +09:00
|
|
|
default: ${{ github.token }}
|
2019-11-24 16:44:26 +09:00
|
|
|
repository:
|
2019-11-24 17:25:35 +09:00
|
|
|
description: 'The full name of the repository in which to create or update a comment.'
|
2023-04-05 16:14:13 +09:00
|
|
|
default: ${{ github.repository }}
|
2019-11-24 16:44:26 +09:00
|
|
|
issue-number:
|
2019-11-24 17:25:35 +09:00
|
|
|
description: 'The number of the issue or pull request in which to create a comment.'
|
2019-11-24 16:44:26 +09:00
|
|
|
comment-id:
|
|
|
|
description: 'The id of the comment to update.'
|
|
|
|
body:
|
2023-04-05 16:14:13 +09:00
|
|
|
description: 'The comment body. Cannot be used in conjunction with `body-path`.'
|
|
|
|
body-path:
|
2022-10-24 15:38:52 +09:00
|
|
|
description: 'The path to a file containing the comment body. Cannot be used in conjunction with `body`.'
|
2023-04-05 16:14:13 +09:00
|
|
|
body-file:
|
|
|
|
description: 'Deprecated in favour of `body-path`.'
|
2019-11-24 16:44:26 +09:00
|
|
|
edit-mode:
|
|
|
|
description: 'The mode when updating a comment, "replace" or "append".'
|
2023-04-05 16:14:13 +09:00
|
|
|
default: 'append'
|
|
|
|
append-separator:
|
|
|
|
description: 'The separator to use when appending to an existing comment. (`newline`, `space`, `none`)'
|
|
|
|
default: 'newline'
|
2020-04-17 16:31:17 +09:00
|
|
|
reactions:
|
2023-04-05 16:14:13 +09:00
|
|
|
description: 'A comma or newline separated list of reactions to add to the comment.'
|
|
|
|
reactions-edit-mode:
|
|
|
|
description: 'The mode when updating comment reactions, "replace" or "append".'
|
|
|
|
default: 'append'
|
2020-04-09 16:03:30 +09:00
|
|
|
outputs:
|
|
|
|
comment-id:
|
|
|
|
description: 'The id of the created comment'
|
2019-11-24 16:44:26 +09:00
|
|
|
runs:
|
2024-01-25 20:45:09 +09:00
|
|
|
using: 'node20'
|
2019-11-24 16:44:26 +09:00
|
|
|
main: 'dist/index.js'
|
|
|
|
branding:
|
2022-06-03 00:42:46 +05:30
|
|
|
icon: 'message-square'
|
2019-11-24 16:44:26 +09:00
|
|
|
color: 'gray-dark'
|