From e9d300997803bc50b3e4e7e8c6689c7ada83f100 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:29:48 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 1b2bd11b9..6a4002b58 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,10 +1,23 @@ github: - features: - wiki: true - issues: true - projects: true + features: + wiki: true + issues: true + projects: true + 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@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