This is an automated email from the ASF dual-hosted git repository.
sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git
The following commit(s) were added to refs/heads/master by this push:
new 69e983ca Set up default protection ruleset for default and release
branches
69e983ca is described below
commit 69e983ca12b83242bd947a0ff02cfc12fab1064d
Author: Szymon Janc <[email protected]>
AuthorDate: Wed Oct 14 01:17:02 2026 +0200
Set up default protection ruleset for default and release branches
Protect the default branch and the release branches from deletion and
force-push, and require linear history on them.
Release branches in this repository are named X_Y_Z_dev (e.g.
1_9_0_dev), so match them with "*_dev" instead of the generic
"release/*" and "rel/*" patterns.
Assisted-by: Claude:claude-opus-5-5
---
.asf.yaml | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index ab6aa571..c7ca7f77 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -24,6 +24,19 @@ notifications:
github:
enabled_merge_buttons:
- squash: true
- merge: false
- rebase: true
+ squash: true
+ merge: false
+ rebase: true
+ rulesets:
+ - name: "Default Branch Protection"
+ type: branch
+ branches:
+ includes:
+ - "~DEFAULT_BRANCH"
+ - "*_dev"
+ excludes: []
+ bypass_teams:
+ - root
+ restrict_deletion: true
+ restrict_force_push: true
+ required_linear_history: true