derekbelrose/Create Comment
Post or update a comment on a GitHub issue or pull request.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 6, 2026
- License
- None
Pinned Snippet
uses: derekbelrose/action-create-comment@d5d4c2d5fb0c1e6de044438c491c124dcbb7b492 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Token used to call the GitHub API. | no | ${{ github.token }} |
| repository | Repository in owner/name format. | no | ${{ github.repository }} |
| issue-number | Issue or pull request number to comment on. Defaults to the current issue or pull request event number. | no | — |
| body | Comment body. Required unless body-file is provided. | no | — |
| body-file | Path to a file containing the comment body. | no | — |
| marker | Stable text used to find and update an existing comment instead of creating a duplicate. | no | — |
| comment-author | Optional login that must match the existing comment author when marker is used. | no | — |
Outputs
| name | description |
|---|---|
| comment-id | ID of the created or updated comment. |
| comment-url | Browser URL for the created or updated comment. |
| operation | Whether the comment was created or updated. |