Merging a Pull Request
After the pull request is reviewed and approved, it can be merged provided all the configured merge validations are met that are configured in the PR settings.
To merge a pull request, use the
MergePullRequest
operation.To merge a pull request, run the
execute-merge-pull-request
command:oci devops pull-request execute-merge-pull-request --commit-message --merge-strategy --pull-request-id
To validate a merge pull request, run the
validate-merge-pull-request
command:oci devops pull-request validate-merge-pull-request --pull-request-id