From 13b3e25c3062c1ab7a61deea38b75fe5db5b5ab4 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:01:52 -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 120de7b64..016c49442 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -58,3 +58,16 @@ github: required_status_checks: # strict means "Require branches to be up to date before merging". strict: 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