This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-extras.git
The following commit(s) were added to refs/heads/master by this push:
new 1fd12c3 [INFRA] Set up default rulesets for default and release
branches (#7)
1fd12c3 is described below
commit 1fd12c3d15263757700dc486303433e0ccba794f
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Tue May 26 00:11:05 2026 -0500
[INFRA] Set up default rulesets for default and release branches (#7)
* Set up default protection ruleset for default and release branches
* Allows struts-committers to bypass the ruleset
---------
Co-authored-by: Lukasz Lenart <[email protected]>
---
.asf.yaml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index 66c79f6..2e02d59 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,4 +1,18 @@
# Documentation https://s.apache.org/asfyaml
github:
- dependabot_alerts: false
+ dependabot_alerts: false
dependabot_updates: false
+ del_branch_on_merge: 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