From 278e74ca7124d8e701bbaf31b92c86560bbc2a75 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:03:09 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index a24c4d1958..776383c1a8 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -9,9 +9,22 @@ github: - website - hugo + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true publish: whoami: asf-site staging: - profile: ~ - whoami: asf-staging \ No newline at end of file + profile: + whoami: asf-staging