From 8844c891a45566310750c9a1cb32fd8cef6ad2a0 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:28:34 -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 4846737..2d0841d 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -25,6 +25,19 @@ 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@druid.apache.org issues: commits@druid.apache.org