From f7b4f91e7cbe3d72adcf06289525fc88611e357b Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:22:11 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index b885914c..c05f3ea0 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -40,8 +40,21 @@ github: dependabot_updates: false del_branch_on_merge: 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@ctakes.apache.org - pullrequests: commits@ctakes.apache.org - issues: commits@ctakes.apache.org - discussions: dev@ctakes.apache.org + commits: commits@ctakes.apache.org + pullrequests: commits@ctakes.apache.org + issues: commits@ctakes.apache.org + discussions: dev@ctakes.apache.org