GitHub & Code
mergePullRequest
Merge Pull Request
Request a merge of a connected GitHub repo's pull request.
Arguments
accountstringoptionalConnected GitHub login to act as. Defaults to the Primary account.methodstringoptionalMerge strategy for the direct-merge path (repos with no merge queue); squash is not allowed. Ignored when the PR is enqueued into a merge queue, which sets its own strategy.ownerstringrequiredRepository ownerpullNumbernumberrequiredPull request numberrepostringrequiredRepository name
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- merge PR #N
- request a merge
Pair it with
The verbs that finish the job.