From 0c331cc9050d52296b5ddfde12b66559d3009c07 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Sat, 16 May 2026 00:59:40 +0200 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 1143a30aa3a..833744348f7 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -8,6 +8,20 @@ notifications: jira_options: link label worklog github: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + - "0.*" # existing release branches are all 0.xx.xx + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true autolink_jira: - THRIFT enabled_merge_buttons: