From c8376b98520bcebc0d68acce7aeddc94f54ac764 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:22:57 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 3b032102ccc3..c2dc7d4d0cd8 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -16,8 +16,8 @@ # under the License. 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 jira_options: link worklog @@ -34,3 +34,16 @@ github: projects: false autolink_jira: - CASSANDRA + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true