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
Copy file name to clipboardExpand all lines: .github/policies/msgraph-sdk-java-branch-protection.yml
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,3 +46,39 @@ configuration:
46
46
# Restrict who can dismiss pull request reviews. boolean
47
47
restrictsReviewDismissals: false
48
48
49
+
- branchNamePattern: support/5.x.x
50
+
# This branch pattern applies to the following branches as of 02/14/2024 12:26
51
+
# dev
52
+
53
+
# Specifies whether this branch can be deleted. boolean
54
+
allowsDeletions: false
55
+
# Specifies whether forced pushes are allowed on this branch. boolean
56
+
allowsForcePushes: false
57
+
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
58
+
dismissStaleReviews: true
59
+
# Specifies whether admins can overwrite branch protection. boolean
60
+
isAdminEnforced: false
61
+
# Indicates whether "Require a pull request before merging" is enabled. boolean
62
+
requiresPullRequestBeforeMerging: true
63
+
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
64
+
requiredApprovingReviewsCount: 1
65
+
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
66
+
requireCodeOwnersReview: true
67
+
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
68
+
requiresCommitSignatures: false
69
+
# Are conversations required to be resolved before merging? boolean
70
+
requiresConversationResolution: true
71
+
# Are merge commits prohibited from being pushed to this branch. boolean
72
+
requiresLinearHistory: false
73
+
# 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
74
+
requiredStatusChecks:
75
+
- Analyze (java)
76
+
- lint-api-level
77
+
- license/cla
78
+
- build
79
+
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
80
+
requiresStrictStatusChecks: true
81
+
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
82
+
restrictsPushes: false
83
+
# Restrict who can dismiss pull request reviews. boolean
0 commit comments