From 1feae3ab4639443e8bb2d5a41c55aa8dfe00116b Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 13:48:36 -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 881933f5c91..4b3154ae215 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -22,8 +22,21 @@ github: - big-data - ambari 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: - commits: commits@ambari.apache.org + commits: commits@ambari.apache.org