From 32c9122b26843c88dbb844cfc7205984c503a512 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:07:17 -0500 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 170e1e3..fd9b1fb 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,3 +1,17 @@ publish: whoami: asf-site +github: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true