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

sebastian-nagel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nutch-site.git


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

commit 0567e536115a9aa1568d7f717c4254a94c810d5e
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Mon May 25 06:09:05 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#4)
    
    * Set up default protection ruleset for default and release branches
    
    * Extend ASF GitHub integration branch protection patterns
       - Add branches "asf-site" and "asf-staging" to protect the static 
pre-rendered web content
    
    ---------
    
    Co-authored-by: Sebastian Nagel <[email protected]>
---
 .asf.yaml | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index d845c318..ab4bfb0d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -27,12 +27,25 @@ github:
 
   enabled_merge_buttons:
     squash: true
-    merge:  false
+    merge: false
     rebase: false
 
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "asf-site"
+          - "asf-staging"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 staging:
-  profile: ~
-  whoami:  asf-staging
+  profile:
+  whoami: asf-staging
 
 publish:
-  whoami: asf-site
\ No newline at end of file
+  whoami: asf-site

Reply via email to