From ecef7b480d3b3e7e26f07483f0cb44ddbe6c5ed0 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:25:06 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 7683c94..1a290ea 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -27,7 +27,20 @@ github: edit_comment_discussion: "Re: [D] {title} ({repository})" delete_comment_discussion: "Re: [D] {title} ({repository})" + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true notifications: - commits: commits@community.apache.org - issues: dev@community.apache.org + commits: commits@community.apache.org + issues: dev@community.apache.org pullrequests: dev@community.apache.org