Skip to content

pr-body

Update the body of a PR with a message. Appends to PR and will not overwrite user content. Each comment has a context, and each context only has one comment.

Options

FlagTypeDescription
--prNumberThe pull request the command should use. Detects PR number in CI
--contextStringA string label to differentiate this status from others
--message, -mStringMessage to post to PR body
--dry-run, -dBooleanReport what command will do but do not actually do anything

Examples

auto pr-body --delete
auto pr-body --delete
auto pr-body --pr 123 --comment "The new version is: 1.2.3"
auto pr-body --pr 123 --comment "The new version is: 1.2.3"