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-rng.git


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

commit d925786bf00b1a8fd1b239615fba8ee53f151b44
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 15:16:08 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 2a56c617..aeb66930 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -28,14 +28,27 @@ github:
     - easy
     - fast
 
+  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