From e5390e86543fed5bd74df4b6e8e0a657187deed0 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:51:23 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index d59a48c98..899d3ba4f 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,2 +1,15 @@ github: - protected_branches: ~ + protected_branches: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true