create-or-update-comment/action.yml

25 lines
776 B
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.'
2019-11-24 15:44:26 +08:00
required: true
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.'
edit-mode:
description: 'The mode when updating a comment, "replace" or "append".'
reaction-type:
description: 'The reaction to add to the comment.'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'message-square'
color: 'gray-dark'