Skip to content

Commit b6bce35

Browse files
committed
Added missing repo config files that are present on main.
1 parent f004b65 commit b6bce35

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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: false
20+
requireVoteOnLastIteration: true
21+
requireVoteOnEachIteration: false
22+
resetRejectionsOnSourcePush: false
23+
blockLastPusherVote: true
24+
branchNames:
25+
- internal/release/6.0
26+
displayName: dotnet-sqlclient Approver Count Policy

.github/CODEOWNERS

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#==============================================================================
2+
# This is the global GitHub code owners file for the SqlClient repo. No other
3+
# CODEOWNERS files should exist in the repo.
4+
#
5+
# Code owners documentation is here:
6+
#
7+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
8+
9+
# The entire repo is owned by the SqlClientDevTeam GitHub team:
10+
#
11+
# https://github.com/orgs/dotnet/teams/sqlclientdevteam
12+
#
13+
# This team must be configured with write access to the repo for code ownership
14+
# rules to apply.
15+
#
16+
# The main branch should also be protected and require all PRs to be approved
17+
# by owners. See:
18+
#
19+
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#require-pull-request-reviews-before-merging
20+
#
21+
# There should be no other owners specified in the repo.
22+
#
23+
* @dotnet/sqlclientdevteam
24+
25+
#==============================================================================

azurepipelines-coverage.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Azure DevOps code coverage settings:
2+
#
3+
# https://learn.microsoft.com/en-us/azure/devops/pipelines/test/codecoverage-for-pullrequests?view=azure-devops#configuring-coverage-settings
4+
#
5+
coverage:
6+
# Code coverage status will be posted to pull requests based on targets
7+
# defined below.
8+
status:
9+
# Off by default. When on, details about coverage for each file changed will
10+
# be posted as a pull request comment.
11+
comments: on
12+
# Diff coverage is code coverage only for the lines changed in a pull
13+
# request.
14+
diff:
15+
# Set this to a desired %. Default is 70%.
16+
target: 70%

0 commit comments

Comments
 (0)