Skip to content

Azure.DevOps.Repos.HasDefaultBranchPolicy

github-actions edited this page Dec 29, 2023 · 1 revision

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

Clone this wiki locally