Skip to content

Commit

Permalink
[ci] fix sot ci test commit check error (PaddlePaddle#64174)
Browse files Browse the repository at this point in the history
  • Loading branch information
gouzil authored May 13, 2024
1 parent 2ba8a77 commit c41571b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/scripts/paddle_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ set -ex
function check_run_sot_ci() {
set +x
# use "git commit -m 'message, test=sot'" to force ci to run
COMMIT_RUN_CI=$(git log -1 --pretty=format:"%s" | grep -w "test=sot" || true)
COMMIT_RUN_CI=$(git log -10 --pretty=format:"%s" | grep -w "test=sot" || true)
# check pr title
TITLE_RUN_CI=$(curl -s https://github.com/PaddlePaddle/Paddle/pull/${GIT_PR_ID} | grep "<title>" | grep -i "sot" || true)
if [[ ${COMMIT_RUN_CI} || ${TITLE_RUN_CI} ]]; then
Expand Down

0 comments on commit c41571b

Please sign in to comment.