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

sebbASF pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-weaver.git


The following commit(s) were added to refs/heads/master by this push:
     new 36a364f  [INFRA] Set up default rulesets for default and release 
branches (#82)
36a364f is described below

commit 36a364fcc17b3176eebbe7a0b99f9e65ad711c27
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Mon Nov 9 00:06:51 2026 +0100

    [INFRA] Set up default rulesets for default and release branches (#82)
    
    * Set up default protection ruleset for default and release branches
    
    * Format notifications section in .asf.yaml
    
    ---------
    
    Co-authored-by: Sebb <[email protected]>
---
 .asf.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 3f649fb..baba202 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -19,6 +19,20 @@ github:
   autolink_jira:
     - WEAVER
 
+  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]

Reply via email to