This is an automated email from the ASF dual-hosted git repository.

Arsnael pushed a commit to branch live
in repository https://gitbox.apache.org/repos/asf/james-site.git


The following commit(s) were added to refs/heads/live by this push:
     new ba267b8e2 Set up default protection ruleset for default and release 
branches
ba267b8e2 is described below

commit ba267b8e21253dcdde3d4ca40da94acee046a4f4
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 17:07:53 2026 -0500

    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:      [email protected]
-  issues:       [email protected]
+  commits: [email protected]
+  issues: [email protected]
   pullrequests: [email protected]
   jira_options: link label worklog


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to