From 84df666f19bb94bbd720ca3b9c98193b7e1b186b Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:22:24 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches patch by The Apache Software Foundation; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-21404 --- .asf.yaml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index f8c8063a2c..bb1093dd35 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 @@ -25,12 +25,22 @@ github: description: "Distributed tests for Apache Cassandra®" homepage: https://cassandra.apache.org/ enabled_merge_buttons: - squash: false - merge: false - rebase: true + squash: false + merge: false + rebase: true features: wiki: false issues: false projects: false autolink_jira: - CASSANDRA + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + excludes: [] + bypass_teams: + - root + restrict_deletion: true