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

Yicong-Huang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new 629ec15069 chore(ci): Set up default rulesets for default and release 
branches (#5080)
629ec15069 is described below

commit 629ec1506940ca418fea4ae47d72bb4bc2a4e25d
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Fri May 15 19:27:47 2026 -0500

    chore(ci): Set up default rulesets for default and release branches (#5080)
    
    This Pull Request enables the repository to conform with the "sane
    default security settings" of the Apache Software Foundation by
    configuring a default branch ruleset that protects the default branch
    and any release branches.
    
    Note that `~DEFAULT_BRANCH` is a GitHub symbolic link to the current
    default branch (HEAD) of the repository and does not need changing.
    If the managing project does not wish to set up these defaults, please
    close this Pull Request. Alternatively, the project may merge this Pull
    Request to apply the changes immediately.
    
    If no action is taken, this Pull Request will be automatically merged by
    the Apache Infrastructure team on **2026-06-14** (30 days from now).
    
    For any further information, please reach us on Slack or at:
    [email protected]
---
 .asf.yaml | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index cd64427979..edd342b858 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -25,7 +25,7 @@ github:
   homepage: https://texera.apache.org/
   labels:
     - human-ai-collaboration
-    - ai-agents 
+    - ai-agents
     - visual-workflows
     - data-science
     - runtime-debugging
@@ -38,7 +38,7 @@ github:
   protected_tags:
     - "v*.*.*"
 
-  dependabot_alerts:  true
+  dependabot_alerts: true
   dependabot_updates: false
 
   features:
@@ -60,10 +60,10 @@ github:
     del_branch_on_merge: true
 
   enabled_merge_buttons:
-    squash:  true
+    squash: true
     squash_commit_message: PR_TITLE_AND_DESC
-    merge:   false
-    rebase:  false
+    merge: false
+    rebase: false
 
   rulesets:
     - name: Merge Queue
@@ -104,9 +104,21 @@ github:
               - context: Check License Headers
               - context: Validate PR title
 
+    - 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]
-  discussions:          [email protected]
-  jobs:                 [email protected]
+  commits: [email protected]
+  issues: [email protected]
+  pullrequests: [email protected]
+  discussions: [email protected]
+  jobs: [email protected]

Reply via email to