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

lprimak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 99e5b8dd3 Set up default protection ruleset for default and release 
branches (#304)
99e5b8dd3 is described below

commit 99e5b8dd3360b833edb0d5425aff7b2d7a142cbe
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 18:28:08 2026 -0500

    Set up default protection ruleset for default and release branches (#304)
---
 .asf.yaml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index 46e8a845f..d887d726c 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -30,5 +30,18 @@ github:
     merge: false
     rebase: false
 
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 publish:
-  whoami:  asf-site
+  whoami: asf-site

Reply via email to