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

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 454fcbb277b9 [SPARK-48116][INFRA][FOLLOWUP] Fix `if` statement to 
check repository
454fcbb277b9 is described below

commit 454fcbb277b932427f12ae2ffa2e22894619600e
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Fri May 3 21:25:41 2024 -0700

    [SPARK-48116][INFRA][FOLLOWUP] Fix `if` statement to check repository
---
 .github/workflows/build_and_test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 8568cd539f03..d9a6b4d097d2 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -79,7 +79,7 @@ jobs:
           pyspark=true; sparkr=true;
           pyspark_modules=`cd dev && python -c "import 
sparktestsupport.modules as m; print(','.join(m.name for m in m.all_modules if 
m.name.startswith('pyspark')))"`
           pyspark=`./dev/is-changed.py -m $pyspark_modules`
-          if [ "${{ github.repository != 'apache/spark' }}" ]; then
+          if [[ "${{ github.repository }}" != 'apache/spark' ]]; then
             pandas=$pyspark
           else
             pandas=false


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to