-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathapprovercountpolicy.yml
More file actions
26 lines (25 loc) · 1.03 KB
/
approvercountpolicy.yml
File metadata and controls
26 lines (25 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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.
#
# https://eng.ms/docs/coreai/devdiv/one-engineering-system-1es/1es-docs/policy-service/policy-as-code/approver-count-policy-overview
name: approver_count
description: Approver count policy for dotnet-sqlclient [internal/release/6.1]
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:
- internal/release/6.1
displayName: dotnet-sqlclient Approver Count Policy [internal/release/6.1]