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

wilfred-s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-release.git


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

commit 2387b431a01d997783c2d265c787cc3a17a67179
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Thu May 28 13:15:57 2026 +1000

    Set up default protection ruleset for default and release branches (#224)
    
    Update .asf.yaml, customise for local branches
    
    Closes: #224
    
    Signed-off-by: Wilfred Spiegelenburg <[email protected]>
---
 .asf.yaml | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index d9cc556..e8cd888 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -29,15 +29,27 @@ github:
     - kubernetes
   enabled_merge_buttons:
     squash: true
-    merge:  false
+    merge: false
     rebase: false
   features:
-    wiki:     false
-    issues:   false
+    wiki: false
+    issues: false
     projects: false
 
+  rulesets:
+    - name: "Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "branch-*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 notifications:
-  commits:      [email protected]
-  issues:       [email protected]
+  commits: [email protected]
+  issues: [email protected]
   pullrequests: [email protected]
   jira_options: link label


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

Reply via email to