From 8e86fe5bb462166645919240a25dfbf63c918c7f Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:52:17 -0500 Subject: [PATCH 1/2] Set up default protection ruleset for default and release branches --- .asf.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 064db4706e4..75b28eb726b 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -66,3 +66,16 @@ github: # Enable GitHub discussion discussions: true ghp_branch: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true From 886e65191038faf3b55eb37ab3a1852df9415f12 Mon Sep 17 00:00:00 2001 From: Jia Yu Date: Sun, 17 May 2026 00:11:11 -0700 Subject: [PATCH 2/2] Apply suggestion from @jiayuasu --- .asf.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 75b28eb726b..b47cc3840e9 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -67,13 +67,13 @@ github: discussions: true ghp_branch: rulesets: - - name: "Default Branch Protection" + - name: 'Default Branch Protection' type: branch branches: includes: - - "~DEFAULT_BRANCH" - - "release/*" - - "rel/*" + - '~DEFAULT_BRANCH' + - 'release/*' + - 'rel/*' excludes: [] bypass_teams: - root