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

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


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

commit eba925aa95781eca56f05f485640249137843d8d
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Tue May 26 00:13:06 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#1)
    
    * Set up default protection ruleset for default and release branches
    
    * Update .asf.yaml to modify branch protection rules
    
    ---------
    
    Co-authored-by: Lukasz Lenart <[email protected]>
---
 .asf.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..0194009
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,15 @@
+github:
+  del_branch_on_merge: true
+  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