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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9cd5e49e9 Update Git config
9cd5e49e9 is described below

commit 9cd5e49e99fc0c213fabcd62254bb07c9365a18c
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Sep 20 15:27:09 2026 -0400

    Update Git config
    
    - Match ASF format
    - Add allow_auto_merge: false
    - Add allow_update_branch: true
    - Add del_branch_on_merge: true
---
 .asf.yaml | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 33ee53eb5..c54ad74ef 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -16,6 +16,25 @@
 github:
   description: "Apache Commons Lang"
   homepage: https://commons.apache.org/lang/
+  # allow auto-merge
+  allow_auto_merge: false
+  # enable updating head branches of pull requests
+  allow_update_branch: true
+  # auto-delete head branches after being merged
+  del_branch_on_merge: true
+
+  rulesets:
+    - name: "Protect Main Branches"
+      type: branch
+      branches:
+        includes:
+          - main
+          - master
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 
 notifications:
     commits:      [email protected]
@@ -28,18 +47,3 @@ notifications:
     pullrequests_bot_dependabot: [email protected]
     issues_bot_codecov-commenter: [email protected]
     pullrequests_bot_codecov-commenter: [email protected]
-
-# Branch rulesets to block force pushes and prevent deletions on main branches
-branch_rulesets:
-  - name: "Protect Main Branches"
-    target: "branch"
-    enforcement: "active" # Options: active, evaluate, disabled
-    conditions:
-      ref_name:
-        include:
-          - "refs/heads/main"
-          - "refs/heads/master"
-        exclude: []
-    rules:
-      - type: "deletion" # Prevents branch deletions
-      - type: "non_fast_forward" # Blocks force pushes completely

Reply via email to