actions-marketplace-validations/Create or Update Comment
Create or update an issue or pull request comment
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 1, 2026
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/peter-evans_create-or-update-comment@f5b41f6a455733f2c5f73ca67a62631e75861578 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GITHUB_TOKEN or a repo scoped PAT. | — | ${{ github.token }} |
| repository | The full name of the repository in which to create or update a comment. | — | ${{ github.repository }} |
| issue-number | The number of the issue or pull request in which to create a comment. | — | — |
| comment-id | The id of the comment to update. | — | — |
| body | The comment body. Cannot be used in conjunction with `body-path`. | — | — |
| body-path | The path to a file containing the comment body. Cannot be used in conjunction with `body`. | — | — |
| body-file | Deprecated in favour of `body-path`. | — | — |
| edit-mode | The mode when updating a comment, "replace" or "append". | — | append |
| append-separator | The separator to use when appending to an existing comment. (`newline`, `space`, `none`) | — | newline |
| reactions | A comma or newline separated list of reactions to add to the comment. | — | — |
| reactions-edit-mode | The mode when updating comment reactions, "replace" or "append". | — | append |
Outputs
| name | description |
|---|---|
| comment-id | The id of the created comment |