This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-secure-xml.git
The following commit(s) were added to refs/heads/main by this push:
new 4497644 Protect main branches
4497644 is described below
commit 449764455e74f8d1c01ca4761eb2a130769b9d23
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Sep 22 07:27:17 2026 -0400
Protect main branches
---
.asf.yaml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index dc18aa4..eefb1e8 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -28,7 +28,7 @@ notifications:
github:
description: "Apache Commons Secure XML"
homepage: https://commons.apache.org/proper/commons-secure-xml/
-
+
pull_requests:
# allow auto-merge
allow_auto_merge: false
@@ -36,3 +36,16 @@ github:
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