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

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-archive.git


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

commit e41d44fe7f35cfcc4b3dc0e953c2cf011a908f77
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Tue May 26 00:09:31 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#6)
    
    * Set up default protection ruleset for default and release branches
    
    * Allows struts-committers to bypass the ruleset
    
    ---------
    
    Co-authored-by: Lukasz Lenart <[email protected]>
---
 .asf.yaml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index 66c79f6..a00bea9 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,4 +1,17 @@
 # Documentation https://s.apache.org/asfyaml
 github:
-  dependabot_alerts:  false
+  dependabot_alerts: false
   dependabot_updates: false
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+        excludes: []
+      bypass_teams:
+        - "root"
+        - "struts-committers"
+      restrict_deletion: true
+      restrict_force_push: true

Reply via email to