Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.59 KB

Azure.DevOps.Repos.DefaultBranchPolicyMinimumReviewers.md

File metadata and controls

38 lines (27 loc) · 1.59 KB
category severity online version
Microsoft Azure DevOps Repos
Severe

Azure.DevOps.Repos.DefaultBranchPolicyMinimumReviewers

SYNOPSIS

The repository's default branch should have a branch policy with a minimum number of reviewers.

DESCRIPTION

Having a minimum number of reviewers for a branch policy helps ensure that the code in the default branch is of a high quality and that the team's Git workflow is followed.

You can configure the minimum number of reviewers for this rule by setting the branchMinimumApproverCount configuration value in PSRule. The default value is 1.

Mininum TokenType: ReadOnly

RECOMMENDATION

Make sure that the branch policy has a minimum number of reviewers for 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