Answers: <p>Yes you can do this under branch policies. </p>
  
  <p>From the GUI navigate to <strong>Repos</strong>-> then in the hamburger menu <strong>branches</strong>-> then select your master branch and then ... on choose <strong>Branch Policies</strong>. <a href="https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies?view=azure-devops#configure-branch-policies" rel="nofollow noreferrer">Like so</a></p>
  
  <p>Then from the branch policies page scroll down and find the <strong>Add Automatic Reviewer</strong> button and set a <strong>path filter</strong> based on the folder.</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-01-24T05:57:47.387Z
Answers: 2020-01-24T05:57:47.387Z
Answers: Eric Smith
Body: <p>I have a pull request policy on my repo which requires at least one member of the <code>devs</code> group reviews and approves any change before it is merged in to master. I'd like to be able to specify additionally that any files changes under the <code>sql_scripts</code> folder require a member of <code>dbadmin</code> group to review and approve. </p>
  
  <p>Can this be done in Azure Devops using either the UI or the API?</p>
  
Tags: <azure-devops>
Title: Set additional required approver for pull requests at subfolder lever in Azure Devops
UserDisplayName: gingerbreadboy
ThreadText: # Set additional required approver for pull requests at subfolder lever in Azure Devops
  
  (Asked by: username_0 on 2020-01-16)
  
  I have a pull request policy on my repo which requires at least one member of the `devs` group reviews and approves any change before it is merged in to master. I'd like to be able to specify additionally that any files changes under the `sql_scripts` folder require a member of `dbadmin` group to review and approve.
  
  Can this be done in Azure Devops using either the UI or the API?
  
  **Tags:** azure-devops
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-24. Score: 3
  
  Yes you can do this under branch policies.
  
  From the GUI navigate to **Repos**-> then in the hamburger menu **branches**-> then select your master branch and then ... on choose **Branch Policies**. [Like so](https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies?view=azure-devops#configure-branch-policies)
  
  Then from the branch policies page scroll down and find the **Add Automatic Reviewer** button and set a **path filter** based on the folder.
  
  
  ---
  
  