This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 945faa7 [INFRA] Set up default rulesets for default and release
branches (#521)
945faa7 is described below
commit 945faa7aa8ab785b75ece3abe9950a214daa1701
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Wed Jun 17 03:23:22 2026 -0500
[INFRA] Set up default rulesets for default and release branches (#521)
* Set up default protection ruleset for default and release branches
* Add struts-committers to bypass teams in .asf.yaml
---------
Co-authored-by: Lukasz Lenart <[email protected]>
---
.asf.yaml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index c0e6069..246994e 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -14,5 +14,18 @@ github:
del_branch_on_merge: true
autolink_jira:
- WW
- dependabot_alerts: true
+ dependabot_alerts: true
dependabot_updates: true
+ rulesets:
+ - name: "Default Branch Protection"
+ type: branch
+ branches:
+ includes:
+ - "~DEFAULT_BRANCH"
+ - "release/*"
+ excludes: []
+ bypass_teams:
+ - root
+ - "struts-committers"
+ restrict_deletion: true
+ restrict_force_push: true