From 50b46fbeec160b3ed3a79b9703f51278932096d1 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:38:41 -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 bddb585659fd3..d973fe88f4d7f 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -25,15 +25,28 @@ github: labels: - paimon enabled_merge_buttons: - squash: true - merge: false - rebase: false + squash: true + merge: 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 publish: whoami: asf-site notifications: - commits: commits@paimon.apache.org - issues: issues@paimon.apache.org + commits: commits@paimon.apache.org + issues: issues@paimon.apache.org pullrequests: issues@paimon.apache.org - jobs: builds@paimon.apache.org + jobs: builds@paimon.apache.org