From 30e32e135ceb120a2fc01a22e5a2f1888db61cff Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:28:20 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index bd2e792..a484dd2 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -39,10 +39,23 @@ github: - database enabled_merge_buttons: - squash: true - merge: false - rebase: false + squash: true + merge: false + rebase: false + 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: - pullrequests_status: commits@doris.apache.org + pullrequests_status: commits@doris.apache.org