actions-marketplace-validations/Commit Comment
Create a comment for a commit on GitHub
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The GitHub authentication token | — | ${{ github.token }} |
| repository | The full name of the target repository. | — | ${{ github.repository }} |
| sha | The commit SHA. | — | — |
| path | Relative path of the file to comment on. | — | — |
| position | Line index in the diff to comment on. | — | — |
| 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`. | — | — |
| 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 commit comment |