includable/Script Comment

Runs a script and posts its output as a sticky PR comment; the exit code decides whether the action passes or fails.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
scriptBash script to run. Its stdout becomes the PR comment body (markdown); a non-zero exit code fails the action.yes
tokenGitHub token with `pull-requests: write` permission.no${{ github.token }}
comment-idIdentifier for the sticky comment, so multiple instances of this action can keep separate comments.noscript-comment
comment-headerOptional heading shown at the top of the PR comment.no""
working-directoryDirectory to run the script in.no""
namedescription
exit-codeExit code of the script.