From 0f6913eb9beceb27d7eb84f52e7797b0c2dc1ba4 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:47:37 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 99596cfd6..3787a6415 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,6 +1,20 @@ notifications: - commits: commits@rocketmq.apache.org - issues: commits@rocketmq.apache.org + commits: commits@rocketmq.apache.org + issues: commits@rocketmq.apache.org pullrequests: commits@rocketmq.apache.org - jobs: commits@rocketmq.apache.org - discussions: dev@rocketmq.apache.org + jobs: commits@rocketmq.apache.org + discussions: dev@rocketmq.apache.org +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