This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git


The following commit(s) were added to refs/heads/master by this push:
     new c937c99d Set up default protection ruleset for default and release 
branches
c937c99d is described below

commit c937c99dac5365fb9495d52e478830b7922e58e7
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 15:16:20 2026 -0500

    Set up default protection ruleset for default and release branches
---
 .asf.yaml | 31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 0cdb679f..045eb386 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -22,14 +22,27 @@ github:
     - stat
     - distribution
 
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 notifications:
-    commits:      [email protected]
-    issues:       [email protected]
-    pullrequests: [email protected]
-    jira_options: link label
-    jobs:         [email protected]
+  commits: [email protected]
+  issues: [email protected]
+  pullrequests: [email protected]
+  jira_options: link label
+  jobs: [email protected]
     # commits_bot_dependabot: [email protected]
-    issues_bot_dependabot: [email protected]
-    pullrequests_bot_dependabot: [email protected]
-    issues_bot_codecov-commenter: [email protected]
-    pullrequests_bot_codecov-commenter: [email protected]
+  issues_bot_dependabot: [email protected]
+  pullrequests_bot_dependabot: [email protected]
+  issues_bot_codecov-commenter: [email protected]
+  pullrequests_bot_codecov-commenter: [email protected]

Reply via email to