mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-08 10:55:25 -05:00
Scaffolding .github/policies/branch-protection.yml
This commit is contained in:
committed by
GitHub
parent
e9c4ebe414
commit
57a800f35a
11
.github/policies/branch-protection.yml
vendored
Normal file
11
.github/policies/branch-protection.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Documentation for branch policy: https://aka.ms/gim/docs/policy/branch-protection
|
||||
|
||||
name: Default branch protection policy
|
||||
description: Requires one reviewer for merges into main branch
|
||||
resource: repository
|
||||
where:
|
||||
configuration:
|
||||
branchProtectionRules:
|
||||
- branchNamePattern: "main"
|
||||
requiredApprovingReviewsCount: 1
|
||||
dismissStaleReviews: true
|
||||
Reference in New Issue
Block a user