From 6702ee7b77db252e00a53c9c71a1cca5db99fe74 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:44:33 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index b4f787dcb..c3b7d2bca 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -43,12 +43,25 @@ github: projects: false enabled_merge_buttons: - squash: true - merge: false - rebase: true + squash: true + merge: false + rebase: true - dependabot_alerts: true + dependabot_alerts: true autolink_jira: - INFRA - PROTON + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true