Skip to content

Commit 77ea4c6

Browse files
committed
Extend branch protection of main branch
Adding strict status check and at least one approval is needed.
1 parent 89032cf commit 77ea4c6

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.asf.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,13 @@ github:
1414
- network-server
1515
- javascript
1616
protected_branches:
17-
main
17+
main:
18+
required_status_checks:
19+
strict: true
20+
required_pull_request_reviews:
21+
# Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit.
22+
dismiss_stale_reviews: false
23+
# Specifies the number of reviewers required to approve pull requests.
24+
# Use a number between 1 and 6 or 0 to not require reviewers.
25+
required_approving_review_count: 1
1826

0 commit comments

Comments
 (0)