From 4d8c819c0cb19f762e3d4f691f1fffbe164c312b Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:07:53 -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 84f316a18..751e95ccf 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -5,8 +5,8 @@ # Staging and publishing profile for yourproject-website.git: staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging github: description: "Repository used to build the Apache James website" @@ -17,8 +17,21 @@ github: - imap - smtp - jmap + 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: notifications@james.apache.org - issues: notifications@james.apache.org + commits: notifications@james.apache.org + issues: notifications@james.apache.org pullrequests: notifications@james.apache.org jira_options: link label worklog