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-newtmgr.git
The following commit(s) were added to refs/heads/master by this push:
new 913e87f Set up default protection ruleset for default and release
branches
913e87f is described below
commit 913e87f63de94da98ee02ce96ea55229941ebcaa
Author: Szymon Janc <[email protected]>
AuthorDate: Wed Oct 14 01:24:04 2026 +0200
Set up default protection ruleset for default and release branches
Protect the default branch and release branches against deletion and
force pushes, 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, which match no branches here.
Assisted-by: Claude:claude-opus-5-5
---
.asf.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.asf.yaml b/.asf.yaml
index c43fe91..06da6c5 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -21,3 +21,17 @@ notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
+github:
+ 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