dcloud git pulls convert-to-draft

Turn an open pull request back into a draft (fires converted_to_draft: webhooks and the workflows that list it)

IAM git:UpdatePullRequestChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud git pulls convert-to-draft repoId prNumber

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

  • <prNumber>Required

    number

    Also accepted as --pr-number. Constraints: integer, min 1

Example

dcloud git pulls convert-to-draft repoId prNumber

Generated from the API description, the same one the API checks requests against and the CLI is built from.