From 5cc22dbb0a7f1de61aa109f24852b5fa96dd3cd3 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:51:51 -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 bb2f6acefab..003b3859f47 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -31,18 +31,31 @@ github: issues: false projects: false enabled_merge_buttons: - squash: true - merge: false - rebase: true + squash: true + 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 notifications: - commits: commits@hbase.apache.org - issues: issues@hbase.apache.org + commits: commits@hbase.apache.org + issues: issues@hbase.apache.org pullrequests: issues@hbase.apache.org jira_options: link # We currently do not use a staging profile. Live site is published # with the following branch configuration. publish: - whoami: asf-site + whoami: asf-site staging: profile: beta whoami: asf-site-staging