From 201f592aa9b6d70d5a978219d9cb60f0776abb84 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 18:11:14 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index c5ab4dc4..35f5f36c 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -2,5 +2,19 @@ publish: whoami: master staging: - profile: ~ - whoami: stage + profile: + whoami: stage +github: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true