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-jxpath.git


The following commit(s) were added to refs/heads/master by this push:
     new 37c5df32 Protect main branches
37c5df32 is described below

commit 37c5df3209fdf81168e08b4c3ca846d39339b5c3
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Sep 22 07:26:56 2026 -0400

    Protect main branches
---
 .asf.yaml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 8f3fe6c4..a747449a 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -16,6 +16,27 @@
 github:
   description: "Apache Commons JXPath"
   homepage: https://commons.apache.org/jxpath/
+  
+  pull_requests:
+    # 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]

Reply via email to