From 0db11a5a93505cdd853a02d0b3e5ed65c71b423b Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 18:02:39 -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 99c6d991..d783b2c7 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -18,8 +18,22 @@ # staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging publish: - 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