From 559502da5ee71db98a4f2e459d1bae4b3f4dad61 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:52:52 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 35a7a5852..7d0f4ffb4 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -2,4 +2,18 @@ publish: whoami: asf-site staging: - whoami: asf-site \ No newline at end of file + whoami: asf-site +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