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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis-thirdparty.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b85d49  RATIS-2544. [INFRA] Set up ruleset for default and release 
branches (#115)
4b85d49 is described below

commit 4b85d4925c83d12e4a807dbf7640222bbf7555df
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Thu Jun 4 14:58:23 2026 -0500

    RATIS-2544. [INFRA] Set up ruleset for default and release branches (#115)
---
 .asf.yaml | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index cf55a2f..6a04df5 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -19,14 +19,26 @@ github:
   labels:
     - ratis
   enabled_merge_buttons:
-    squash:  true
+    squash: true
     squash_commit_message: PR_TITLE
-    merge:   false
-    rebase:  false
+    merge: false
+    rebase: false
   autolink_jira:
     - RATIS
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release-*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 notifications:
-  commits:      [email protected]
-  issues:       [email protected]
+  commits: [email protected]
+  issues: [email protected]
   pullrequests: [email protected]
   jira_options: link label worklog

Reply via email to