From 98591f02462afcd143510058258652895462ca7a Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:14:04 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 6c06ca7f6382..1c5c2f2cfca3 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -32,6 +32,19 @@ github: - rarexixi - casionxia - aiceflower + 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@linkis.apache.org issues: commits@linkis.apache.org @@ -39,10 +52,10 @@ notifications: # If this branch is asf-staging, it will be published to https://linkis.staged.apache.org/ staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging # asf-site branch will show up at https://linkis.apache.org publish: - whoami: asf-site + whoami: asf-site