From 06bf7dfa7810a0c94f5c091ffe94df062f236eff Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:40:57 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 284b2b6f2a..91c5f89d38 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -7,3 +7,16 @@ github: pull_requests: allow_update_branch: 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