3mul0r/Bashful Comment

Add, update, or manage pull request comments. No Node.js — pure shell + GitHub CLI.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 12, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 3mul0r/bashful-comment@d6f5984c58f5533024808bb8a8be8fcdb2b1f704 # v1

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

namedescriptionrequireddefault
messageThe comment message body. Mutually exclusive with message-path.no
message-pathPath(s) or glob(s) to file(s) whose contents become the message. Separate multiple with newlines. Mutually exclusive with message.no
message-idUnique identifier for this comment. Used to find/update existing comments instead of creating duplicates.no""
refresh-message-positionIf updating an existing comment, delete and recreate it so it appears at the bottom.nofalse
repo-ownerRepository owner.no${{ github.repository_owner }}
repo-nameRepository name.no${{ github.event.repository.name }}
repo-tokenGitHub token for API access.no${{ github.token }}
allow-repeatsAllow duplicate comments (skip checking for existing comment with same message-id).nofalse
statusJob status for selecting status-specific messages.no${{ job.status }}
message-successMessage to use when status is 'success'.no
message-failureMessage to use when status is 'failure'.no
message-cancelledMessage to use when status is 'cancelled'.no
message-skippedMessage to use when status is 'skipped'.no
issueExplicit issue or PR number to comment on.no
update-onlyOnly update an existing comment; do not create a new one.nofalse
preformattedWrap the message in a code block.nofalse
findRegex pattern(s) to find in an existing comment body (one per line). Supports inline modifiers like /pattern/gi.no
replaceReplacement string(s) for each find pattern (one per line). If only one replacement is provided for multiple patterns, it is reused for all.no
github-hostGitHub Enterprise Server hostname (e.g., github.example.com). Sets GH_HOST for the gh CLI.no
github-enterprise-tokenToken for GitHub Enterprise Server. Sets GH_ENTERPRISE_TOKEN for the gh CLI.no
namedescription
comment-createdWhether a new comment was created.
comment-updatedWhether an existing comment was updated.
comment-idThe ID of the created or updated comment.