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

CritasWang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb-extras.git


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

commit 0541572d7c56a992fc93902291fd57b23f2ebad4
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri Jul 24 05:20:03 2026 +0200

    Set up default protection ruleset for default and release branches (#107)
---
 .asf.yaml | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 0d8ba45..2026486 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -37,8 +37,21 @@ 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
+  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