From 5458f095716f2a8407a7c96df5ecdcbc9cbbb641 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:22:37 -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 d3b0e67..b9ad65c 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,25 @@ github: description: "Harry 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" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true