Skip to content

pr-status

Set the status on a PR commit

Options

FlagTypeDescription
--shaStringSpecify a custom git sha. Defaults to the HEAD for a git repo in the current repository
--prNumberPR to set the status on. Detects PR number in CI
--urlStringURL to associate with this status
--stateStringState of the PR. ['pending', 'success', 'error', 'failure']
--descriptionStringA description of the status
--contextStringA string label to differentiate this status from others
--dry-run, -dBooleanReport what command will do but do not actually do anything

Examples

auto pr-status \\ 
   --state pending \\ 
   --description "Build still running..." \\ 
   --context build-check
auto pr-status \\ 
   --state pending \\ 
   --description "Build still running..." \\ 
   --context build-check