From fece908356b56d2dd7742cb857d7073826d0275d Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:48:01 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 3911fa9b..6b35c5d2 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -22,10 +22,22 @@ github: wiki: true protected_branches: - + 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@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