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

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

commit ac24c63c47c85ede91b4bfdeb70bfceaa3467b39
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Sun Nov 5 10:19:13 2023 +0100

    Enable branch protection for main branch
---
 .asf.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..d18290b
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,25 @@
+github:
+  description: "Apache CouchDB Continuous Integration (CI) support repository"
+  homepage: https://github.com/apache/couchdb-ci
+  labels:
+    - apache
+    - couchdb
+    - erlang
+    - network-client
+    - http
+    - cplusplus
+    - big-data
+    - cloud
+    - database
+    - network-server
+    - javascript
+  protected_branches:
+    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