From 3d53e1ec86dc1ded9624d67db039866192e8e495 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:20:29 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index ae8ddf10..a71d12a9 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,8 +1,22 @@ # asf-staging branch will show up at https://madlib.staged.apache.org staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging # asf-site branch will show up at https://madlib.apache.org publish: - whoami: asf-site + 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