grantbirki/comment-actions
GitHub Action to create, update, or add a reaction to any issue or pull request - with template support!
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GITHUB_TOKEN or a repo scoped PAT | yes | ${{ github.token }} |
| repository | The full name of the repository in which to create or update a comment | yes | ${{ github.repository }} |
| issue-number | The number of the issue or pull request in which to create a comment | yes | ${{ github.event.number }} |
| comment-id | The id of the comment to update | no | — |
| body | The comment body | no | — |
| file | The path to a Markdown/template file to use as the comment body | no | — |
| vars | Template variables in a narrow YAML-compatible mapping format for rendering with a provided file | no | — |
| edit-mode | The mode when updating a comment, "replace" or "append" | no | append |
| append-separator | The separator to use when appending to an existing comment, "newline", "space", or "none" | no | newline |
| reaction-type | Deprecated in favour of `reactions` | no | — |
| reactions | A comma or newline separated list of reactions to add to the comment | no | — |
| reactions-edit-mode | The mode when updating comment reactions, "replace" or "append" | no | append |
Outputs
| name | description |
|---|---|
| comment-id | The ID of the created comment |