From f5c6c95edcf7d5e49d7389d03132681a338cd71f Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:41:17 -0500 Subject: [PATCH] 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 f80f975564..8efe56f8d6 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -46,6 +46,19 @@ github: required_linear_history: true required_signatures: false required_conversation_resolution: 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 notifications: commits: commits@pulsar.apache.org issues: commits@pulsar.apache.org