You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b8bbb8c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/policies/msgraph-sdk-java-core-branch-protection.yml
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -84,3 +84,41 @@ configuration:
84
84
restrictsPushes: false
85
85
# Restrict who can dismiss pull request reviews. boolean
86
86
restrictsReviewDismissals: false
87
+
88
+
- branchNamePattern: support/2.x.x
89
+
# This branch pattern applies to the following branches as of 06/12/2023 10:31:16:
90
+
# dev
91
+
92
+
# Specifies whether this branch can be deleted. boolean
93
+
allowsDeletions: false
94
+
# Specifies whether forced pushes are allowed on this branch. boolean
95
+
allowsForcePushes: false
96
+
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
97
+
dismissStaleReviews: true
98
+
# Specifies whether admins can overwrite branch protection. boolean
99
+
isAdminEnforced: false
100
+
# Indicates whether "Require a pull request before merging" is enabled. boolean
101
+
requiresPullRequestBeforeMerging: true
102
+
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
103
+
requiredApprovingReviewsCount: 1
104
+
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
105
+
requireCodeOwnersReview: true
106
+
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
107
+
requiresCommitSignatures: false
108
+
# Are conversations required to be resolved before merging? boolean
109
+
requiresConversationResolution: true
110
+
# Are merge commits prohibited from being pushed to this branch. boolean
111
+
requiresLinearHistory: false
112
+
# 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
113
+
requiredStatusChecks:
114
+
- license/cla
115
+
- Build
116
+
- lint-api-level
117
+
- Analyze (java)
118
+
- build
119
+
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
120
+
requiresStrictStatusChecks: true
121
+
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
122
+
restrictsPushes: false
123
+
# Restrict who can dismiss pull request reviews. boolean
0 commit comments