1+ # Copyright (c) Microsoft Corporation.
2+ # Licensed under the MIT License.
3+
4+ name : kiota-abstractions-ruby-branch-protection
5+ description : Branch protection policy for the kiota-abstractions-ruby repository
6+ resource : repository
7+ configuration :
8+ branchProtectionRules :
9+
10+ - branchNamePattern : main
11+ # Specifies whether this branch can be deleted. boolean
12+ allowsDeletions : false
13+ # Specifies whether forced pushes are allowed on this branch. boolean
14+ allowsForcePushes : false
15+ # Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
16+ dismissStaleReviews : true
17+ # Specifies whether admins can overwrite branch protection. boolean
18+ isAdminEnforced : false
19+ # Indicates whether "Require a pull request before merging" is enabled. boolean
20+ requiresPullRequestBeforeMerging : true
21+ # Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
22+ requiredApprovingReviewsCount : 1
23+ # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
24+ requireCodeOwnersReview : true
25+ # Are commits required to be signed. boolean
26+ requiresCommitSignatures : false
27+ # Are conversations required to be resolved before merging? boolean
28+ requiresConversationResolution : true
29+ # Are merge commits prohibited from being pushed to this branch. boolean
30+ requiresLinearHistory : false
31+ # Required status checks to pass before merging
32+ requiredStatusChecks :
33+ - license/cla
34+ - check-ruby-version-matrix
35+ # Require branches to be up to date before merging. boolean
36+ requiresStrictStatusChecks : false
37+ # Indicates whether there are restrictions on who can push. boolean
38+ restrictsPushes : false
39+ # Restrict who can dismiss pull request reviews. boolean
40+ restrictsReviewDismissals : false
0 commit comments