pull-requests

Version 4.1 by Rudi Marais on 2022/02/08 10:43

Setup "My Pull Requests"

This allows you to see pull requests under a repository on your dashboard

  1. Go to: https://dev.azure.com/ebsphere/
  2. Click on "My Pull Requests"
  3. Click on "Customize View"
  4. Click on "Assigned to my teams"
  5. Under Assigned to put the review team ie: migration-code-review

Sample screenshot

1643888832245-695.png

Viewing Pull Requests

You can view all pull requests across all repositories by going to the "My Pull Requests" landing page: https://dev.azure.com/ebsphere/_pulls

Policies

  1. There is a group setup for each repository that deals with code review
  2. Only members in this group can approve a pull request and the default required reviewer is 1
  3. You cannot approve your own pull request
  4. You cannot approve someone elses pull request if you where last to make changes to the branch
  5. When a new change has been pushed it will reset the approved viewer count
  6. If any outstanding issues/comments are on a pull request it will block the pull request until resolved
  7. The merge back to master is restricted to a squash merge, this prevents polluting the history see Merge strategies and squash merge - Azure Repos | Microsoft Docs

 

Tags: