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/thrift-website.git


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

commit 844486d3e4f20037d6e73e6bb91d5eec4d28ee2e
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Sat May 16 14:24:21 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#22)
---
 .asf.yaml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 7a2a38a..81ffd96 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -31,12 +31,25 @@ github:
     issues: false
     projects: 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