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

ricardozanini pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git


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

commit 9ecdbd2fb30cea6cdcb6707e1de1f22498e1a0c1
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 17:10:00 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#759)
    
    Set up default protection ruleset for default and release branches
---
 .asf.yaml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index e217f518c..a6c6a2524 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -17,7 +17,20 @@ github:
     - persistence
     - data-index
     - jobs-service
-  ghp_branch:  gh-pages
-  ghp_path:    /
+  ghp_branch: gh-pages
+  ghp_path: /
   features:
     issues: true
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to