From 1f3416d4ecfcd7d48949060fbc515cb5dd256bfe Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:41:06 -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 74589a2..15346ec 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -39,13 +39,26 @@ 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 - pullrequests: commits@pulsar.apache.org \ No newline at end of file + commits: commits@pulsar.apache.org + issues: commits@pulsar.apache.org + pullrequests: commits@pulsar.apache.org