Creating a Pull Request
Create pull request to trigger a build run to deploy the code changes.
Each service in Oracle Cloud Infrastructure (OCI) integrates with Identity and Access Management (IAM) for authentication and authorization. To grant users permission to access the DevOps code repositories and other resources, you must create dynamic groups and IAM policies.
For creating dynamic groups and policies for code repositories, see Code Repository Policies. For more details, see DevOps IAM Policies.
Before creating a pull request, you need to clone the required code repository or fork the repository to create a copy, make updates and commit the changes.
For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.
The pull request is successfully created, displaying the PR details such as source branch name, commit history with user name, merge validations if configured, and any associated build pipeline that's set to run when triggered by a commit. See Viewing Pull Request Details.
To create a pull request, run the
create
command:oci devops pull-request create --display-name --repository-id --source-branch --description --destination-branch --reviewers --source-repository-id
To create a pull request, use the
CreatePullRequest
operation.