-
-
Notifications
You must be signed in to change notification settings - Fork 2
Azure.DevOps.Repos.DefaultBranchPolicyMinimumReviewers
github-actions edited this page Dec 29, 2023
·
1 revision
category: Microsoft Azure DevOps Repos severity: Severe online version: https://github.com/cloudyspells/PSRule.Rules.AzureDevOps/blob/main/src/PSRule.Rules.AzureDevOps/en/Azure.DevOps.Repos.DefaultBranchPolicyMinimumReviewers.md
The repository's default branch should have a branch policy with a minimum number of reviewers.
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
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.