Approving Merge Requests using the MR Dashboard
The updates for this section are currently in progress. |
Prerequisites
Before a Merge Request review/approval is requested, the following conditions must be met:
-
The Merge Request is no longer in draft form
-
A Merge Request review has been requested by the author.
-
The Issue related to the Merge Request contains a clear title and description outlining the proposed changes.
-
The changes have been pushed to the repository and are ready for assessment.
Step-by-Step Approval Process
1. Access the Merge Request Dashboard
-
Navigate to the Merge Request Dashboard.
-
Locate the section labeled "Reviews requested" to find MRs awaiting your review.
-
Click on the Merge Request title to open the Merge Request page.
2. Key Components of a Merge Request
Use the image below as a reference. Open it in a new tab to expand for better visibility, and follow the callouts below for guidance.
1 | Merge Request Title The short, clear, and descriptive name of the Merge Request (MR). This should summarize the purpose of the changes being proposed. |
2 | Merge Request Description
A brief explanation of what the MR does, including the reason for the changes, any relevant context, and links to related issues or discussions. This helps reviewers understand the purpose and scope of the MR.
Also, in section 2 of the image, notice the "Closes #7" link. This identifies the issue that this merge request was created for. The issue serves as the central reference point where all related changes, context, and contact information are documented
|
3 | Assignee The person responsible for addressing feedback and making updates to the Merge Request. This is typically the individual who created the MR or is tasked with implementing changes. |
4 | Reviewers A list of individuals or groups who are expected to review and provide feedback on the MR. Reviewers analyze the proposed changes and suggest improvements or approve the request. |
5 | Required Approvers Specific individuals or teams who must formally approve the Merge Request before it can be merged. Approval may be required from policy supervisors, leadership, legal, or compliance teams based on the nature of the changes. |
6 | Merge Status Indicates the current state of the Merge Request. |
3. Examine the Commits
-
Click on the "Commit" tab to view the modifications in the policy documentation.
-
Compare the new content with existing policy guidelines.
-
Check for formatting consistency and adherence to style guidelines.
-
Ensure that no unintended changes have been included.
Use the "Side-by-Side" diff view for easier comparison of changes. |
4. Provide Feedback or Request Modifications
-
Navigate to the "Discussion" tab to add comments on any areas that need clarification or adjustments.
-
If changes are required:
-
Click "Request Changes".
-
Provide specific comments and suggestions for improvement.
-
Be precise and constructive in your feedback to streamline the revision process. |
5. Approve the Merge Request
-
If the changes meet all requirements:
-
Click "Approve" to confirm the changes.
-
Optionally, leave a comment to confirm the review is complete.
-
-
If additional approvals are needed, ensure all required approvers have completed their reviews before finalizing.
6. Merge the Request (if authorized)
-
If you have merge permissions and all required approvals are in place:
-
Click "Merge" to integrate the changes into the repository.
-
Confirm that the branch is safely merged and delete it if necessary.
-
-
If you do not have merge permissions, notify the repository owner or relevant team.
Troubleshooting Common Issues
Merge Request Not Ready for Review
-
Ensure the MR is marked as Ready for Review.
-
Verify that all required changes have been pushed to the repository.
Additional Resources
For more details on Merge Requests: * Creating a Merge Request * PAMMS Training Overview