You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2026/05/18 01:51:51 UTC

(iotdb-client-csharp) branch main updated: Set up default protection ruleset for default and release branches (#59)

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

HTHou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-csharp.git


The following commit(s) were added to refs/heads/main by this push:
     new 7334219  Set up default protection ruleset for default and release branches (#59)
7334219 is described below

commit 7334219810bc14c602cdc105e088bca6e7114b49
Author: The Apache Software Foundation <ro...@apache.org>
AuthorDate: Sun May 17 20:51:46 2026 -0500

    Set up default protection ruleset for default and release branches (#59)
---
 .asf.yaml | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 90629a6..63b341d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -19,7 +19,7 @@
 
 
 notifications:
-  issues:       reviews@iotdb.apache.org
+  issues: reviews@iotdb.apache.org
   pullrequests: reviews@iotdb.apache.org
 
 github:
@@ -33,10 +33,23 @@ github:
     issues: true
   enabled_merge_buttons:
     # enable squash button:
-    squash:  true
+    squash: true
     # enable merge button:
-    merge:   false
+    merge: false
     # disable rebase button:
-    rebase:  true
+    rebase: true
   collaborators:
     - lausannel
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true