brc-dd/Sticky Comment

Create or update a PR/issue comment using a hidden marker to identify it.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 6, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: brc-dd/sticky-comment@275c1fab8547c20578d7dde1f9b936c736c5cbcf # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenGitHub token with issues/pull-requests write permission.${{ github.token }}
repositoryFull repository name (owner/repo).${{ github.repository }}
issue-numberIssue or pull request number to comment on.${{ github.event.pull_request.number || github.event.issue.number }}
comment-authorFilter comments by author (GitHub username) when searching.github-actions[bot]
idUnique 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
bodyComment body (Markdown). Cannot be used with body-path.
body-pathPath to a file containing the comment body. Cannot be used with body.
namedescription
comment-idID of the created or updated comment.
comment-node-idGraphQL node ID of the matched comment (empty if newly created).
comment-bodyBody of the matched comment before update (empty if newly created).
comment-authorAuthor of the matched comment (empty if newly created).