From 05425fc5117bf37cda3b1e647e3063386ed6f235 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:22:20 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 1d14ccd..7bc1c15 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,10 +1,23 @@ notifications: - commits: commits@cassandra.apache.org - issues: commits@cassandra.apache.org + commits: commits@cassandra.apache.org + issues: commits@cassandra.apache.org pullrequests: pr@cassandra.apache.org github: enabled_merge_buttons: - squash: false - merge: false - rebase: true + squash: false + 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