Skip to content

Commit fd3f786

Browse files
panvaaduh95
andauthored
Apply batched suggestions from code review
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 36bbb97 commit fd3f786

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/actions/start-ci.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cqurl="${GITHUB_SERVER_URL:?}/${GITHUB_REPOSITORY:?}/actions/runs/${GITHUB_RUN_I
66
max_workload=${MAX_WORKLOAD:-15}
77
case $max_workload in
88
*[!0-9]*)
9-
echo '::error::AUTO_START_CI_MAX_WORKLOAD must be a non-negative integer'
9+
echo '::error::AUTO_START_CI_MAX_WORKLOAD must be a positive integer'
1010
exit 1
1111
;;
1212
*) ;;
@@ -38,7 +38,7 @@ for pr in "$@"; do
3838
fi
3939
case $workload in
4040
''|*[!0-9]*)
41-
echo '::error::ncu-ci workload did not return a non-negative integer'
41+
echo '::error::ncu-ci workload did not return a positive integer'
4242
exit 1
4343
;;
4444
*) ;;

0 commit comments

Comments
 (0)