m github status¶
Create a commit status.
- https://docs.github.com/en/rest/reference/repos#create-a-commit-status
example::
$ m github status \
--owner jmlopez-rod \
--repo pysync \
--sha [sha] \
--context github-check \
--state pending \
--description 'running checks'
The owner option defaults to the value of the environment variable
GITHUB_REPOSITORY_OWNER.
Source code in m/cli/commands/github/status.py
Required arguments¶
--repo¶
repo name
--sha¶
commit sha
--context¶
unique identifier for the status (a name?)
--description¶
a short description of the status
Options¶
--owner¶
- default:
'jmlopez-rod'
repo owner
--state¶
- choices:
error,failure,pending,success
the state of the status
--url¶
URL to associate with this status