VCS How to: Create a Pull Request

Early Access VCS Articles

1. Enable VCS
2. Version Control Dashboard
3. View App Details Page
4. Create a Branch
5. Branch Details Page
6. Create a Pull Request
7. Review & Approve a Pull Request
8. Merge a Pull Request
9. Commenting on a VCS Application

Overview

Use the Create Pull Request page when a branch is ready to be reviewed and merged into the Main Branch. When creating a Pull Request, Owners and Contributors decide what changes to include from the branch. The Approver then reviews the changes included in the Pull Request. Owners or Contributors must resolve conflicts between branch modules and main modules before submitting a Pull Request. Once a Pull Request submission is complete, branch modules are no longer available to edit.

What You'll Learn

In this how-to guide, you’ll learn how to submit a Pull Request for a VCS-enabled application branch.

What You Need

To submit a Pull Request, you need a VCS-enabled application and a modified branch. You'll also need to resolve any conflicts between the branch modules and main module.

Creating a Pull Request

Owners and Contributors create and submit Pull Requests after completing all edits to a branch. To submit a Pull Request, you must resolve all conflicts between branch modules and main modules. Or exclude the conflicting module from the Pull Request. All edits and changes to the conflicting module are lost when the branch merges.

Branch Modules not included in the Pull Request are deleted when the Pull Request merges with the Main Branch. It is important to complete all modifications to a branch before submitting a Pull Request.×

1. From the Branch Details page, select + Create Pull Request. The Create Pull Request page displays.
2. From the Select Module(s) list, click the ☐ checkbox next to a module ready for review and merge.
3. Repeat this process for each module ready for review and merge.

Adding Approvers

If an Approver has not been added to the branch, use the Create Pull Request page to add them. If an Approver is assigned to the branch, or the Owner Can Approve Pull Requests setting is selected, you can jump to the next section.

To create a Pull Request, there must be at least one Creator assigned the Approver role. You can also use the Owner Can Approve Pull Requests setting to allow the branch Owner to review the Pull Request.×

1. From the Select Participant(s) drop-down, enter or select the name of a Creator-user.

Only Creator-users assigned to the application workspace display in the drop-down. To learn how to add Creators to a workspace, view our Workspaces Role-Based Access Control (WSRBAC) article.×

2. From the Permissions drop-down, select Approver.
3. Set the Notify Participant by Email to Checked Icon (checked). This informs the Approver when the Pull Request is available for review.
4. Click Add Participant.

Leaving a Comment

Creating a Pull Request requires the submitter to leave a comment.

1. In the Comment* field, enter an explanation of changes, or refer to the project ticket.
2. At the top-right of the Create Pull Request page, click Create. A modal confirms the creation of the Pull Request.

Users in the branch with the Notify Participant by Email setting enabled receive an email informing them of the Pull Request submission.

Best Practices

Resources