Skip to content

Commit a95a456

Browse files
chore: update branch protection rules
1 parent 23d77de commit a95a456

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/policies/msgraph-sdk-java-core-branch-protection.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ configuration:
2626
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
2727
requiredApprovingReviewsCount: 1
2828
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
29-
requireCodeOwnersReview: false
29+
requireCodeOwnersReview: true
3030
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
3131
requiresCommitSignatures: false
3232
# Are conversations required to be resolved before merging? boolean
@@ -41,7 +41,7 @@ configuration:
4141
- Analyze (java)
4242
- build
4343
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
44-
requiresStrictStatusChecks: false
44+
requiresStrictStatusChecks: true
4545
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
4646
restrictsPushes: false
4747
# Restrict who can dismiss pull request reviews. boolean
@@ -64,7 +64,7 @@ configuration:
6464
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
6565
requiredApprovingReviewsCount: 1
6666
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
67-
requireCodeOwnersReview: false
67+
requireCodeOwnersReview: true
6868
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
6969
requiresCommitSignatures: false
7070
# Are conversations required to be resolved before merging? boolean
@@ -79,7 +79,7 @@ configuration:
7979
- Analyze (java)
8080
- build
8181
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
82-
requiresStrictStatusChecks: false
82+
requiresStrictStatusChecks: true
8383
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
8484
restrictsPushes: false
8585
# Restrict who can dismiss pull request reviews. boolean
@@ -106,7 +106,7 @@ configuration:
106106
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
107107
requiresCommitSignatures: false
108108
# Are conversations required to be resolved before merging? boolean
109-
requiresConversationResolution: false
109+
requiresConversationResolution: true
110110
# Are merge commits prohibited from being pushed to this branch. boolean
111111
requiresLinearHistory: false
112112
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
@@ -117,7 +117,7 @@ configuration:
117117
- license/cla
118118
- lint-api-level
119119
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
120-
requiresStrictStatusChecks: false
120+
requiresStrictStatusChecks: true
121121
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
122122
restrictsPushes: false
123123
# Restrict who can dismiss pull request reviews. boolean

0 commit comments

Comments
 (0)