Branch policies

Finally, it is possible to enforce one or more policies on pull requests to a specific branch. The interface for branch policies is shown in the following screenshot and can be accessed by choosing the Branch policies option while managing the authorizations on a repository branch:

The first four checkboxes are related to default policies that can be enabled (or not) on your preference. By default, they are all disabled.

Build validation can be used to disallow the merge of any pull request if one or more of the select builds have not completed successfully. How to set up such a build is something you will learn in the next ...

Get Implementing Azure DevOps Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.