File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This file configures the Approver Count Policy Validator status check. Some
2
+ # settings here are similar to branch policies specified via the Azure DevOps UI
3
+ # that govern how PRs are approved in general. The settings here dictate how
4
+ # the validator behaves, and it can also prevent PRs from completing.
5
+ #
6
+ # Suggested by Merlinbot (https://sqlclientdrivers.visualstudio.com/ADO.Net/_git/dotnet-sqlclient/pullrequest/4982)
7
+
8
+ name : approver_count
9
+ description : Approver count policy for dotnet-sqlclient
10
+ resource : repository
11
+ where :
12
+ configuration :
13
+ approverCountPolicySettings :
14
+ isBlocking : true
15
+ requireMinimumApproverCount : 2
16
+ creatorVoteCounts : false
17
+ allowDownvotes : false
18
+ sourcePushOptions :
19
+ resetOnSourcePush : true
20
+ requireVoteOnLastIteration : true
21
+ requireVoteOnEachIteration : false
22
+ resetRejectionsOnSourcePush : false
23
+ blockLastPusherVote : true
24
+ branchNames :
25
+ - refs/heads/internal/main
26
+ - refs/heads/internal/release/6.0
27
+ - refs/heads/internal/release/5.2
28
+ - refs/heads/internal/release/5.1
29
+ displayName : dotnet-sqlclient Approver Count Policy
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ extends:
82
82
template : v2/OneBranch.${{parameters.oneBranchType }}.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
83
83
parameters :
84
84
featureFlags :
85
+ # Suggested by MerlinBot (https://sqlclientdrivers.visualstudio.com/ADO.Net/_git/dotnet-sqlclient/pullrequest/4882)
86
+ EnableCDPxPAT : false
85
87
WindowsHostVersion : 1ESWindows2022
86
88
globalSdl : # https://aka.ms/obpipelines/sdl
87
89
tsa :
You can’t perform that action at this time.
0 commit comments