brc-dd/Sticky Comment
Create or update a PR/issue comment using a hidden marker to identify it.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 6, 2026
- License
- MIT
Pinned Snippet
uses: brc-dd/sticky-comment@275c1fab8547c20578d7dde1f9b936c736c5cbcf # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token with issues/pull-requests write permission. | — | ${{ github.token }} |
| repository | Full repository name (owner/repo). | — | ${{ github.repository }} |
| issue-number | Issue or pull request number to comment on. | — | ${{ github.event.pull_request.number || github.event.issue.number }} |
| comment-author | Filter comments by author (GitHub username) when searching. | — | github-actions[bot] |
| id | Unique marker to identify the comment. Used to find and update the same comment across workflow runs. Embedded as a hidden HTML comment in the body. | yes | — |
| body | Comment body (Markdown). Cannot be used with body-path. | — | — |
| body-path | Path to a file containing the comment body. Cannot be used with body. | — | — |
Outputs
| name | description |
|---|---|
| comment-id | ID of the created or updated comment. |
| comment-node-id | GraphQL node ID of the matched comment (empty if newly created). |
| comment-body | Body of the matched comment before update (empty if newly created). |
| comment-author | Author of the matched comment (empty if newly created). |