From e2ae8431a3085ba984ae86c01bd089887718b151 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:22:12 -0500 Subject: [PATCH 1/3] 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 2388c8987..12db12548 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: commits@cassandra.apache.org issues: commits@cassandra.apache.org From 413761743ee26d4715a5760a9347471e8d3c7e94 Mon Sep 17 00:00:00 2001 From: Yifan Cai Date: Tue, 26 May 2026 11:16:56 -0700 Subject: [PATCH 2/3] Apply suggestion from @yifan-c --- .asf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 12db12548..83f8a74bb 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -34,7 +34,7 @@ github: bypass_teams: - root restrict_deletion: true - restrict_force_push: true + restrict_deletion: true notifications: commits: commits@cassandra.apache.org issues: commits@cassandra.apache.org From e112f06155bb9af8fa4f9dfff9768a78cdf2fb37 Mon Sep 17 00:00:00 2001 From: Yifan Cai Date: Tue, 26 May 2026 11:19:53 -0700 Subject: [PATCH 3/3] Apply suggestion from @yifan-c --- .asf.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 83f8a74bb..3c962786f 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -34,7 +34,6 @@ github: bypass_teams: - root restrict_deletion: true - restrict_deletion: true notifications: commits: commits@cassandra.apache.org issues: commits@cassandra.apache.org