update-pull-status
Update pull status
Auth
Authenticated
Example
ghit-cli update-pull-status website 42 --status closed
Expected Response
Updates the resource and prints the updated JSON object.
Errors
400 Bad Requestfor invalid flags/values.404 Not Foundwhen referenced owners/resources are missing.409 Conflictfor uniqueness or state conflicts.
Common auth errors are documented on the CLI overview page.
Help Output
Update pull status
Usage: ghit-cli update-pull-status [OPTIONS] --status <STATUS> <REPO> <NUMBER>
Arguments:
<REPO> Target repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
<NUMBER> Pull number in target repo
Options:
--status <STATUS>
New status [possible values: open, draft, closed, merged]
--merge-commit-oid <MERGE_COMMIT_OID>
Merge commit oid (optional, for merged status)
-h, --help
Print help