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-website.git
The following commit(s) were added to refs/heads/master by this push:
new 1f0e88c292 Set up default protection ruleset for default and release
branches
1f0e88c292 is described below
commit 1f0e88c292fbd80476d2716a9fd7c5af6e787cfc
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 17:29:40 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 f5eb2f68fc..5334d340c8 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -16,8 +16,21 @@ github:
- jekyll
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