From a0fd21a1168b0365fbfe04eecc3fe26c2ac148c8 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:49:05 -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 1723bc79..f16da8d5 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -14,8 +14,22 @@ # limitations under the License. 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