From f7ea7c0f2a148524f90fa56865fe19b80816989a Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:22:07 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index a4b7a8b..1d9da24 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -31,6 +31,19 @@ github: - processing - apache + 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 @@ -39,8 +52,8 @@ notifications: # Staging and publishing profile for yourproject-website.git: staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging publish: - whoami: asf-site \ No newline at end of file + whoami: asf-site