Skip to content

Commit 5272819

Browse files
committed
ci(cleanup): Remove references of dev from the branch protection policy.
1 parent d79693c commit 5272819

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

.github/policies/msgraph-sdk-dotnet-branch-protection.yml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -37,45 +37,9 @@ configuration:
3737
requiredStatusChecks:
3838
- build
3939
- license/cla
40-
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
40+
# Require branches to be up-to-date before merging. Requires requiredStatusChecks. boolean
4141
requiresStrictStatusChecks: true
4242
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
4343
restrictsPushes: false
4444
# Restrict who can dismiss pull request reviews. boolean
4545
restrictsReviewDismissals: false
46-
47-
- branchNamePattern: dev
48-
# This branch pattern applies to the following branches as of 06/12/2023 10:31:13:
49-
# dev
50-
51-
# Specifies whether this branch can be deleted. boolean
52-
allowsDeletions: false
53-
# Specifies whether forced pushes are allowed on this branch. boolean
54-
allowsForcePushes: false
55-
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
56-
dismissStaleReviews: true
57-
# Specifies whether admins can overwrite branch protection. boolean
58-
isAdminEnforced: false
59-
# Indicates whether "Require a pull request before merging" is enabled. boolean
60-
requiresPullRequestBeforeMerging: true
61-
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
62-
requiredApprovingReviewsCount: 1
63-
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
64-
requireCodeOwnersReview: true
65-
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
66-
requiresCommitSignatures: false
67-
# Are conversations required to be resolved before merging? boolean
68-
requiresConversationResolution: true
69-
# Are merge commits prohibited from being pushed to this branch. boolean
70-
requiresLinearHistory: false
71-
# 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
72-
requiredStatusChecks:
73-
- build
74-
- license/cla
75-
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
76-
requiresStrictStatusChecks: true
77-
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
78-
restrictsPushes: false
79-
# Restrict who can dismiss pull request reviews. boolean
80-
restrictsReviewDismissals: false
81-

0 commit comments

Comments
 (0)