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

jmckenzie-dev pushed a commit to branch 
analytics/infrastructure-ruleset-bot/default-branch-protection
in repository https://gitbox.apache.org/repos/asf/cassandra-ecosystem.git

commit e2ae8431a3085ba984ae86c01bd089887718b151
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 14:22:12 2026 -0500

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

diff --git a/.asf.yaml b/.asf.yaml
index 2388c898..12db1254 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -18,10 +18,23 @@
 
 github:
   enabled_merge_buttons:
-    squash:  true
-    merge:   false
-    rebase:  true
+    squash: true
+    merge: false
+    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
 notifications:
   commits: [email protected]
   issues: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to