From 3e78199e9f68a7c51faa8628c824f4b2831a3977 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:47:41 -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 b5e425e..bd8ff48 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -6,3 +6,16 @@ github: issues: true # Enable projects for project management boards projects: 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