From b8a6efe64be546d56a254b7709fc3a21f6bd4266 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:23:25 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 7605a90..3ff099e 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,8 +1,21 @@ staging: - profile: ~ - whoami: main - - + profile: + whoami: main + + publish: - whoami: main - \ No newline at end of file + whoami: main +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