Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.27 KB

Azure.DevOps.Repos.HasDefaultBranchPolicy.md

File metadata and controls

32 lines (22 loc) · 1.27 KB
category severity online version
Microsoft Azure DevOps Repos
Critical

Azure.DevOps.Repos.HasDefaultBranchPolicy

SYNOPSIS

The repository's default branch should have a branch policy

DESCRIPTION

A branch policy is a set of rules that govern the quality of the code and the team's Git workflow. Branch policies can enforce your team's code quality and change management standards. They can also help your team find and fix bugs earlier in the development cycle.

Mininum TokenType: ReadOnly

RECOMMENDATION

Consider adding a branch policy to the default branch of your repository. This will help ensure that the code in the default branch is of a high quality and that the team's Git workflow is followed.

LINKS