You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
1.1 KiB

# This file configures the Approver Count Policy Validator status check. Some
# settings here are similar to branch policies specified via the Azure DevOps UI
# that govern how PRs are approved in general. The settings here dictate how
# the validator behaves, and it can also prevent PRs from completing.
#
# Suggested by Merlinbot (https://sqlclientdrivers.visualstudio.com/ADO.Net/_git/dotnet-sqlclient/pullrequest/4982)
name: approver_count
description: Approver count policy for dotnet-sqlclient
resource: repository
where:
configuration:
approverCountPolicySettings:
isBlocking: true
requireMinimumApproverCount: 2
creatorVoteCounts: false
allowDownvotes: false
sourcePushOptions:
resetOnSourcePush: false
requireVoteOnLastIteration: true
requireVoteOnEachIteration: false
resetRejectionsOnSourcePush: false
blockLastPusherVote: true
branchNames:
- refs/heads/internal/main
- refs/heads/internal/release/6.0
- refs/heads/internal/release/5.2
- refs/heads/internal/release/5.1
displayName: dotnet-sqlclient Approver Count Policy