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

liugddx pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 93c6cac62c [Improve][Test] Run all test when code merged into dev 
branch (#6609)
93c6cac62c is described below

commit 93c6cac62cda32fde94fe629f819a1b904b067db
Author: Jia Fan <[email protected]>
AuthorDate: Fri Mar 29 14:55:27 2024 +0800

    [Improve][Test] Run all test when code merged into dev branch (#6609)
    
    * [Improve][Test] Run all test when code merged into dev branch
    
    * [Improve][Test] Run all test when code merged into dev branch
---
 .github/workflows/backend.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 5c8e75897d..e63a5ac51e 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -100,6 +100,7 @@ jobs:
           current_branch='${{ steps.git_init.outputs.branch }}'
           pip install GitPython
           workspace="${GITHUB_WORKSPACE}"
+          repository_owner="${GITHUB_REPOSITORY_OWNER}"
           cv2_files=`python tools/update_modules_check/check_file_updates.py 
ua $workspace apache/dev origin/$current_branch "seatunnel-connectors-v2/**"`
           true_or_false=${cv2_files%%$'\n'*}
           file_list=${cv2_files#*$'\n'}
@@ -133,6 +134,9 @@ jobs:
           api_files=`python tools/update_modules_check/check_file_updates.py 
ua $workspace apache/dev origin/$current_branch "seatunnel-api/**" 
"seatunnel-common/**" "seatunnel-config/**" "seatunnel-connectors/**" 
"seatunnel-core/**" "seatunnel-e2e/seatunnel-e2e-common/**" 
"seatunnel-formats/**" "seatunnel-plugin-discovery/**" 
"seatunnel-transforms-v2/**" "seatunnel-translation/**" 
"seatunnel-e2e/seatunnel-transforms-v2-e2e/**" "seatunnel-connectors/**" 
"pom.xml" "**/workflows/**" "tools [...]
           true_or_false=${api_files%%$'\n'*}
           file_list=${api_files#*$'\n'}
+          if [[ $repository_owner == 'apache' ]];then
+            true_or_false='true'
+          fi
           echo "api=$true_or_false" >> $GITHUB_OUTPUT
           echo "api_files=$file_list" >> $GITHUB_OUTPUT
 

Reply via email to