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

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 41cdbc472 [INFRA] Set up default rulesets for default and release 
branches (#480)
41cdbc472 is described below

commit 41cdbc472fea0bbc24f2ff08d6fa60bccdf8c417
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 19:19:31 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#480)
    
    * Set up default protection ruleset for default and release branches
    
    * Apply suggestion from @ctubbsii
    
    ---------
    
    Co-authored-by: Christopher Tubbs <[email protected]>
---
 .asf.yaml | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index a6b9be1e6..a88319657 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -20,8 +20,8 @@
 # https://github.com/apache/infrastructure-asfyaml/blob/main/README.md
 
 notifications:
-  commits:      [email protected]
-  issues:       [email protected]
+  commits: [email protected]
+  issues: [email protected]
   pullrequests: [email protected]
   jira_options: worklog
 
@@ -38,15 +38,28 @@ github:
     wiki: false
     issues: true
     projects: true
-  dependabot_alerts:  true
+  dependabot_alerts: true
   dependabot_updates: false
 
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 staging:
   profile: ~
-  whoami:  asf-staging
+  whoami: asf-staging
 
 publish:
-  whoami:  asf-site
+  whoami: asf-site
 
 jekyll:
   whoami: main

Reply via email to