Steps to enable Status Checks under Azure Devops
Sprinto Check: Merging of code changes should require passing status-checks
Before you begin
Ensure you have access to manage the branch policies on Azure DevOps.
Ensure that the policies are enabled at the branch level.
Enable Branch Policies Follow these steps to configure branch policies in Azure DevOps:
Sign in to Azure DevOps using this link: https://dev.azure.com/.
Navigate to the relevant project and go to Repos > Branches.
Locate the branch for which you want to enable policies and click on the three dots (
...
) under the branch drawer.Select Branch Policies, then enable Require a minimum number of reviewers and set the desired number of reviewers (minimum: 1).
Add Status Checks
Scroll down to the Status Checks section within the branch policies page.
Click the + icon to add a new status check.
Populate the required fields [i.e. Status to check] for the status check and click Save.
Reference Video: For additional clarity, refer to the attached video guide outlining these steps.
Feel free to reach out to the support team if you encounter any issues during the setup process!