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

hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 58cc8c62ac [CI] Check out PR branch in the weekly CentOS 7 build 
workflow to ease PR verification (#10839)
58cc8c62ac is described below

commit 58cc8c62ac21701235fa90de24d20913e95af70a
Author: Zouxxyy <[email protected]>
AuthorDate: Wed Oct 8 21:25:28 2025 +0800

    [CI] Check out PR branch in the weekly CentOS 7 build workflow to ease PR 
verification (#10839)
---
 .github/workflows/velox_weekly.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/velox_weekly.yml 
b/.github/workflows/velox_weekly.yml
index 68b8c7eb9b..2af2341fbf 100644
--- a/.github/workflows/velox_weekly.yml
+++ b/.github/workflows/velox_weekly.yml
@@ -36,7 +36,6 @@ concurrency:
   cancel-in-progress: true
 
 jobs:
-  # action/checkout does not work centos7 anymore, so we clone the main branch 
instead
   build-on-centos-7:
     strategy:
       fail-fast: false
@@ -63,8 +62,11 @@ jobs:
           export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk && \
           export PATH=$JAVA_HOME/bin:$PATH
           
-          # The upstream main branch is cloned. Please temporarily switch to 
the dev branch for PR validation.
+          # action/checkout does not work centos7 anymore, so we clone the 
branch instead.
           git clone -b main --depth=1 
https://github.com/apache/incubator-gluten.git && cd incubator-gluten/
+          if [ ${{ github.event_name }} = "pull_request" ]; then
+            git fetch origin ${{ github.ref }}:pr_branch && git checkout 
pr_branch
+          fi
           $SETUP install_maven
           ./dev/package.sh --spark_version=3.5
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to