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

borisstoyanov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.git


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

commit c903ec84cbd50d8487a4835c977930d5ff406740
Author: Boris Stoyanov - a.k.a Bobby <[email protected]>
AuthorDate: Thu Sep 10 10:49:49 2026 +0300

    Set up default protection ruleset for default and release branches (#222)
    
    * Set up default protection ruleset for default and release branches
    
    * Drop the branches block from the protection ruleset
    
    No release/* or rel/* branches exist in this repo, and .asf.yaml already
    defaults branches to ~DEFAULT_BRANCH when the key is omitted, so the block
    only restated the default.
    
    * Do not run Copilot review on drafts or on every push
    
    Copilot review credits are limited; reviewers can trigger a review by hand
    when one is wanted.
    
    ---------
    
    Co-authored-by: The Apache Software Foundation 
<[email protected]>
---
 .asf.yaml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 9780566..5917f58 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -30,7 +30,15 @@ github:
   protected_branches:
     main: {}
 
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
+
   copilot_code_review:
     enabled: true
-    review_drafts: true
-    review_on_push: true
+    review_drafts: false
+    review_on_push: false

Reply via email to