From 155b0bf0c14e7f97878ec47c09b3293f94440a09 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:47:25 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 677adaeb0d..51a4b62ba3 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -21,19 +21,32 @@ github: - consensus - java enabled_merge_buttons: - squash: true + squash: true squash_commit_message: PR_TITLE - merge: false - rebase: false + merge: false + rebase: false autolink_jira: - HDDS - RATIS + 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@ratis.apache.org - issues: issues@ratis.apache.org + commits: commits@ratis.apache.org + issues: issues@ratis.apache.org pullrequests: issues@ratis.apache.org jira_options: link label worklog publish: - whoami: asf-site + whoami: asf-site