You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by ad...@apache.org on 2026/06/04 19:58:28 UTC

(ratis-thirdparty) branch master updated: RATIS-2544. [INFRA] Set up ruleset for default and release branches (#115)

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 <ro...@apache.org>
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:      commits@ratis.apache.org
-  issues:       issues@ratis.apache.org
+  commits: commits@ratis.apache.org
+  issues: issues@ratis.apache.org
   pullrequests: issues@ratis.apache.org
   jira_options: link label worklog