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

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


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

commit 5ffac2c02470480bb5dfe0b46fc36b5cb8060b84
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Tue May 26 00:12:08 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#2)
    
    * Set up default protection ruleset for default and release branches
    
    * Update .asf.yaml for branch deletion and bypass teams
    
    Added configuration to delete branches on merge and updated bypass teams.
    
    ---------
    
    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