jinchengchenghh commented on code in PR #11695:
URL: 
https://github.com/apache/incubator-gluten/pull/11695#discussion_r2882928236


##########
.github/workflows/nightly_sync.yml:
##########
@@ -16,11 +16,44 @@
 name: Upload docs to apache nightly
 
 on:
-  push:
+  pull_request:
     paths:
       - 'docs/**'
       - '.github/workflows/nightly_sync.yml'
 jobs:
+
+  script-change-test:
+    name: check Velox script change and build docker image if needed
+    runs-on: ubuntu-latest
+    outputs:
+      scripts_changed: ${{ steps.check_scripts.outputs.scripts_changed }}
+    steps:
+      - name: Check if scripts changed
+        id: check_scripts
+        run: |
+          git clone --depth 10 --branch main 
https://github.com/facebookincubator/velox.git velox
+          cd velox
+          if [[ $(git diff --name-only ${{ github.event.before }} ${{ 
github.event.after }} | grep -E '(^|/)scripts/.*') ]]; then

Review Comment:
   If cudf dependency version changed, we need to build the docker image, the 
source adapter image does not include cudf, I install it in gluten cudf image.



-- 
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