From fbd1b20243d976a5afd2b6e49115d95bc1cbce8d Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:56:47 -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 5e92451..9edfb07 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -13,6 +13,19 @@ github: del_branch_on_merge: true # We will publish our site using Pelican, via the asf-site branch + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true pelican: whoami: trunk target: asf-site