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

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-site.git


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

commit 6b680ec8395698be4ae9ed860a2f3e56fab97ac7
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Tue Jun 16 12:13:46 2026 -0500

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

diff --git a/.asf.yaml b/.asf.yaml
index 08ebb1c31fa..5d93ac7b9bd 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -4,8 +4,21 @@ publish:
 github:
   enabled_merge_buttons:
     # enable squash button:
-    squash:  true
+    squash: true
     # disable rebase button:
-    rebase:  true
+    rebase: true
     # enable merge button:
-    merge:   false
+    merge: false
+  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