Skip to content

Commit 93c6cac

Browse files
authored
[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
1 parent 5795b26 commit 93c6cac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: .github/workflows/backend.yml

+4
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
current_branch='${{ steps.git_init.outputs.branch }}'
101101
pip install GitPython
102102
workspace="${GITHUB_WORKSPACE}"
103+
repository_owner="${GITHUB_REPOSITORY_OWNER}"
103104
cv2_files=`python tools/update_modules_check/check_file_updates.py ua $workspace apache/dev origin/$current_branch "seatunnel-connectors-v2/**"`
104105
true_or_false=${cv2_files%%$'\n'*}
105106
file_list=${cv2_files#*$'\n'}
@@ -133,6 +134,9 @@ jobs:
133134
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/**" "seatunnel-dist/**"`
134135
true_or_false=${api_files%%$'\n'*}
135136
file_list=${api_files#*$'\n'}
137+
if [[ $repository_owner == 'apache' ]];then
138+
true_or_false='true'
139+
fi
136140
echo "api=$true_or_false" >> $GITHUB_OUTPUT
137141
echo "api_files=$file_list" >> $GITHUB_OUTPUT
138142

0 commit comments

Comments
 (0)