dcloud git merge-queue add

Add a pull request to its target branch merge queue ("merge when ready")

IAM git:AddToMergeQueueChanges state

Only for a target branch whose protection rule requires a merge queue. If approvals or checks are not yet satisfied the entry waits (state `waiting`) and joins the end of the line once they are. The queue builds `ews-readonly-queue/<base>/pr-<n>-<sha>` with every pull request ahead of it, runs `merge_group` CI on it, and fast-forwards the base when the checks pass.

Synopsis

dcloud git merge-queue add 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 merge-queue add repoId prNumber

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