Skip to content

Azure.DevOps.Repos.DefaultBranchPolicyMinimumReviewers

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

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

Clone this wiki locally