From 69bedc960deaafc0d388b8d2b454dd8e0f968dae Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:06:30 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index ad5698265..188f52068 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -40,8 +40,21 @@ github: - W1y1r - leto-b + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true staging: - profile: ~ + profile: whoami: asf-staging publish: