File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ jobs:
100
100
current_branch='${{ steps.git_init.outputs.branch }}'
101
101
pip install GitPython
102
102
workspace="${GITHUB_WORKSPACE}"
103
+ repository_owner="${GITHUB_REPOSITORY_OWNER}"
103
104
cv2_files=`python tools/update_modules_check/check_file_updates.py ua $workspace apache/dev origin/$current_branch "seatunnel-connectors-v2/**"`
104
105
true_or_false=${cv2_files%%$'\n'*}
105
106
file_list=${cv2_files#*$'\n'}
@@ -133,6 +134,9 @@ jobs:
133
134
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/**"`
134
135
true_or_false=${api_files%%$'\n'*}
135
136
file_list=${api_files#*$'\n'}
137
+ if [[ $repository_owner == 'apache' ]];then
138
+ true_or_false='true'
139
+ fi
136
140
echo "api=$true_or_false" >> $GITHUB_OUTPUT
137
141
echo "api_files=$file_list" >> $GITHUB_OUTPUT
138
142
You can’t perform that action at this time.
0 commit comments