dcloud git commit-statuses createReport a status on a commit (one per context; a later one replaces it)
GitHub’s POST /repos/{owner}/{repo}/statuses/{sha}. A branch protection rule whose required checks name this context waits for it: pending waits, success passes, failure and error block.
Synopsis
dcloud git commit-statuses create repoId sha --state state [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid<sha>Requiredstring
Also accepted as
--sha. Constraints: /^[0-9a-f]{40}$/
Flags
--stateRequiredenum
The result: pending waits, success passes, failure and error block a required check
One of:
pending,success,failure,error--contextOptionalstring
Names the check; a required check of this name gates merges
Constraints: 1-255 chars
Default:
"default"--descriptionOptionalstring
A short summary shown beside the status
Constraints: max 1000 chars
--target-urlOptionalstring
An https:// link to the details
Constraints: max 2000 chars
Example
dcloud git commit-statuses create repoId sha --state pendingGenerated from the API description, the same one the API checks requests against and the CLI is built from.