File tree Expand file tree Collapse file tree 5 files changed +150
-22
lines changed Expand file tree Collapse file tree 5 files changed +150
-22
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+ # https://eng.ms/docs/coreai/devdiv/one-engineering-system-1es/1es-docs/policy-service/policy-as-code/approver-count-policy-overview
7+
8+ name : approver_count
9+ description : Approver count policy for dotnet-sqlclient [internal/release/6.0]
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 [internal/release/6.0]
Original file line number Diff line number Diff line change 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+ # ==============================================================================
Original file line number Diff line number Diff line change 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%
Original file line number Diff line number Diff line change 55# ################################################################################
66
77name : $(DayOfYear)$(Rev:rr)
8- trigger :
9- batch : true
8+
9+ # Trigger PR validation runs for all pushes to PRs that target the specified
10+ # branches.
11+ #
12+ # https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers
13+ #
14+ pr :
1015 branches :
1116 include :
1217 - release/6.0
13- - internal/release/6.0
18+
1419 paths :
1520 include :
16- - src\Microsoft.Data.SqlClient\netcore\ref
17- - src\Microsoft.Data.SqlClient\netfx\ref
18- - src\Microsoft.Data.SqlClient\ref
21+ - .azuredevops
22+ - .config
23+ - doc
1924 - eng
25+ - src
2026 - tools
21- - .config
22- - Nuget.config
27+ - azurepipelines-coverage.yml
28+ - build.proj
29+ - NuGet.config
2330
24- schedules :
25- - cron : ' 0 5 * * Sat'
26- displayName : Weekly Friday 10:00 PM (UTC - 7) Build
31+ # Commit triggers for CI runs on specified branches.
32+ #
33+ # No paths filters are specified, so all commits to the branches will trigger a
34+ # build.
35+ #
36+ trigger :
37+ batch : true
2738 branches :
2839 include :
40+ - release/6.0
2941 - internal/release/6.0
30- always : true
42+
43+ # Scheduled runs.
44+ schedules :
45+
46+ # GitHub on Sundays 06:30 UTC.
47+ - cron : ' 30 6 * * Sun'
48+ displayName : Sunday Run
49+ branches :
50+ include :
51+ - release/6.0
52+ always : true
53+
54+ # ADO on Sundays 07:30 UTC.
55+ - cron : ' 30 7 * * Sun'
56+ displayName : Sunday Run
57+ branches :
58+ include :
59+ - internal/release/6.0
60+ always : true
3161
3262parameters : # parameters are shown up in ADO UI in a build queue time
3363- name : ' debug'
Original file line number Diff line number Diff line change 55# ################################################################################
66
77name : $(DayOfYear)$(Rev:rr)
8- trigger :
9- batch : true
8+
9+ # Trigger PR validation runs for all pushes to PRs that target the specified
10+ # branches.
11+ #
12+ # https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers
13+ #
14+ pr :
1015 branches :
1116 include :
1217 - release/6.0
13- - internal/release/6.0
18+
1419 paths :
1520 include :
16- - src
21+ - .azuredevops
22+ - .config
23+ - doc
1724 - eng
25+ - src
1826 - tools
19- - .config
27+ - azurepipelines-coverage.yml
2028 - build.proj
21- - Nuget .config
29+ - NuGet .config
2230
23- schedules :
24- - cron : ' 0 5 * * Sat'
25- displayName : Weekly Friday 10:00 PM (UTC - 7) Build
31+ # Commit triggers for CI runs on specified branches.
32+ #
33+ # No paths filters are specified, so all commits to the branches will trigger a
34+ # build.
35+ #
36+ trigger :
37+ batch : true
2638 branches :
2739 include :
40+ - release/6.0
2841 - internal/release/6.0
29- always : true
42+
43+ # Scheduled runs.
44+ schedules :
45+
46+ # GitHub on Sundays 06:00 UTC.
47+ - cron : ' 0 6 * * Sun'
48+ displayName : Sunday Run
49+ branches :
50+ include :
51+ - release/6.0
52+ always : true
53+
54+ # ADO on Sundays 07:00 UTC.
55+ - cron : ' 0 7 * * Sun'
56+ displayName : Sunday Run
57+ branches :
58+ include :
59+ - internal/release/6.0
60+ always : true
3061
3162parameters : # parameters are shown up in ADO UI in a build queue time
3263- name : ' debug'
You can’t perform that action at this time.
0 commit comments