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

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-testing.git


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

commit 2e53057ba7e151de301c604af4963017a3ed0946
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 17:29:36 2026 -0500

    Set up default protection ruleset for default and release branches
---
 .asf.yaml | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 9e05828..f9dd420 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -16,8 +16,21 @@ github:
     - ci
   enabled_merge_buttons:
     # disable squash button:
-    squash:  false
+    squash: false
     # disable merge button:
-    merge:   false
+    merge: false
     # enable rebase button:
-    rebase:  true
+    rebase: 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

Reply via email to