This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git


The following commit(s) were added to refs/heads/main by this push:
     new 24153fb  Extend branch protection rules
24153fb is described below

commit 24153fbd2d263eaca5bf824fd83879d67a2c8391
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Sun Nov 5 10:41:40 2023 +0100

    Extend branch protection rules
    
    Add strict status checks and need at least one approval.
---
 .asf.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index 35c56c4..54a4874 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -14,4 +14,12 @@ github:
     - network-server
     - javascript
   protected_branches:
-    main
+    main:
+      required_status_checks:
+        strict: true
+      required_pull_request_reviews:
+        # Set to true if you want to automatically dismiss approving reviews 
when someone pushes a new commit.
+        dismiss_stale_reviews: false
+        # Specifies the number of reviewers required to approve pull requests.
+        # Use a number between 1 and 6 or 0 to not require reviewers.
+        required_approving_review_count: 1

Reply via email to