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 <[email protected]>
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:       [email protected]
+  issues: [email protected]
   pullrequests: [email protected]
 
 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

Reply via email to