From cc4dd9c8d5903446e4632c9cbd927ba071e13e8e Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:56:55 -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 7c861fa..81dda75 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -21,4 +21,17 @@ github: issues: true # Enable projects for project management boards projects: false - + + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true