You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tsfile.apache.org by ha...@apache.org on 2026/06/02 09:20:13 UTC

(tsfile-viewer) branch main updated: Set up default protection ruleset for default and release branches (#21)

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/tsfile-viewer.git


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

commit 3dc7b79723012948b2733052cd0bb9d73fc6d99c
Author: The Apache Software Foundation <ro...@apache.org>
AuthorDate: Tue Jun 2 04:20:08 2026 -0500

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

diff --git a/.asf.yaml b/.asf.yaml
index f14a1f1..453bff4 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -29,8 +29,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