dcloud git pulls enable-auto-mergeMerge automatically once approvals and required checks pass
IAM git:MergePullRequestChanges state
Merges as the caller, with this method; merges at once if it already can (`result: merged`). Refused for a draft and on a branch that requires the merge queue. `autoMergeBlockedReason` on the pull request says what it waits for. Turned off if the caller later loses git:MergePullRequest.
Synopsis
dcloud git pulls enable-auto-merge repoId prNumber --method methodArguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid<prNumber>Requirednumber
Also accepted as
--pr-number. Constraints: integer, min 1
Flags
--methodRequiredenum
merge records a merge commit, squash lands the branch as one commit, rebase replays each commit onto the target; the repository must allow it
One of:
merge,squash,rebase
Example
dcloud git pulls enable-auto-merge repoId prNumber --method mergeGenerated from the API description, the same one the API checks requests against and the CLI is built from.