Skip to content

Commit 15712e9

Browse files
author
Vladimir Kotal
committed
fix condition to match Github action variable value
1 parent 754cadb commit 15712e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/main

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [[ "x$OPENGROK_REPO_SLUG" == "xoracle/opengrok" && "x$OPENGROK_BRANCH" == "xm
2121
#
2222
# Sonar seems to only work on master branch commits.
2323
#
24-
if [ "${OPENGROK_PULL_REQUEST}" = "false" ]; then
24+
if [[ -z "${OPENGROK_PULL_REQUEST}" ]]; then
2525
echo "Enabling Sonar"
2626
extra_args="$extra_args -Dsonar.login=$OPENGROK_SONAR_TOKEN sonar:sonar"
2727
fi

0 commit comments

Comments
 (0)