From 84a0ed192be0d312b8c84c2863bd8aaecf4178fb Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:04:58 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 282675f56..d48fc39df 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -30,13 +30,26 @@ github: - streaming - graph enabled_merge_buttons: - squash: true - merge: false - rebase: true + squash: true + merge: false + rebase: 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@geaflow.apache.org - issues: issues@geaflow.apache.org + commits: commits@geaflow.apache.org + issues: issues@geaflow.apache.org pullrequests: issues@geaflow.apache.org - jobs: builds@geaflow.apache.org - discussions: issues@geaflow.apache.org + jobs: builds@geaflow.apache.org + discussions: issues@geaflow.apache.org