From 82bc7fc9296602658bf886dea6667e090348b094 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:52:25 -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 3160df52e9..a738e48de2 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -27,6 +27,19 @@ github: labels: - hop enabled_merge_buttons: - squash: true - merge: true - rebase: true \ No newline at end of file + squash: true + merge: true + rebase: 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