From fcd9795c4416c5b64a4b3eb1fda4a0a0da97dc93 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:52:17 -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 a8161eb9..6f581e37 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -2,8 +2,8 @@ publish: whoami: asf-site notifications: - commits: commits@hive.apache.org - issues: gitbox@hive.apache.org + commits: commits@hive.apache.org + issues: gitbox@hive.apache.org pullrequests: gitbox@hive.apache.org jira_options: link label @@ -15,6 +15,19 @@ github: issues: false projects: false enabled_merge_buttons: - squash: true - merge: false - rebase: false + squash: true + merge: false + rebase: false + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true