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-k8shim.git


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

commit ce76c6899e2222fcf5f1003f7c9b213c72c30325
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Thu May 28 16:15:24 2026 +1000

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

diff --git a/.asf.yaml b/.asf.yaml
index 56f6aaba..f975474c 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -27,16 +27,28 @@ github:
     - apache-yarn
     - kubernetes
   enabled_merge_buttons:
-    squash:  true
-    merge:   false
-    rebase:  false
+    squash: true
+    merge: false
+    rebase: false
   features:
-    wiki:     false
-    issues:   false
+    wiki: false
+    issues: false
     projects: false
 
+  rulesets:
+    - name: "Default 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