From 9093bdc204c745ce36da98e269f038013bb1bb8a Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:30:28 -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 8d84e69..785b1f8 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,5 +1,19 @@ notifications: - commits: commits@dubbo.apache.org - issues: notifications@dubbo.apache.org - pullrequests: notifications@dubbo.apache.org - jira_options: link label link label + commits: commits@dubbo.apache.org + issues: notifications@dubbo.apache.org + pullrequests: notifications@dubbo.apache.org + jira_options: link label link label +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