[fix](pipeline) update check-pr-if-need-run-build.sh (#24515)

update check-pr-if-need-run-build.sh
This commit is contained in:
Dongyang Li
2023-09-18 17:18:23 +08:00
committed by GitHub
parent 9a47e8fa73
commit dcabc06510

View File

@ -81,7 +81,7 @@ https://github.com/apache/doris/pull/${PULL_NUMBER}/files all change files:
}
_only_modified_regression_conf() {
if [[ -n ${added_files} ]]; then echo "Not only modified regression conf, find added files" && return 1; fi
if [[ -n ${added_files} || -n ${removed_files} ]]; then echo "Not only modified regression conf, find added/removed files" && return 1; fi
for f in ${modified_files}; do
if [[ "${f}" == "regression-test/pipeline/p0/conf/regression-conf.groovy" ]] ||
[[ "${f}" == "regression-test/pipeline/p1/conf/regression-conf.groovy" ]]; then