zhztheplayer commented on code in PR #10836:
URL: 
https://github.com/apache/incubator-gluten/pull/10836#discussion_r2401860139


##########
.github/workflows/velox_weekly.yml:
##########
@@ -63,8 +62,12 @@ 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/
+          # The branch of a pull request is a special remote reference, we 
need to clone the repo first, then fetch it with pr ref.
+          if [ ${{ github.event_name }} = "pull_request" ]; then
+            git fetch origin ${{ github.ref }}:pr_branch && git checkout 
pr_branch

Review Comment:
   May be we can open a new PR for that?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to