From 5d96d2d9a29913d4d7723747ac820511342a742e Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:41:09 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index a07439b9..97918fd8 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -39,15 +39,28 @@ github: projects: true enabled_merge_buttons: # enable squash button: - squash: true + squash: true # disable merge button: - merge: false + merge: false # disable rebase button: - rebase: false + rebase: false + 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 + commits: commits@pulsar.apache.org + issues: commits@pulsar.apache.org pullrequests: commits@pulsar.apache.org - discussions: dev@pulsar.apache.org + discussions: dev@pulsar.apache.org jira_options: link label