diff --git a/scripts/check-release-notes.sh b/scripts/check-release-notes.sh index f88e3d67f..1b5f9869d 100755 --- a/scripts/check-release-notes.sh +++ b/scripts/check-release-notes.sh @@ -11,7 +11,7 @@ PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }') # order for it to be merged it had to pass the check in its base branch. If # we're trying to merge this with the Merge Queue, then the PR number will be # "gh-readonly-queue" instead. -if [ $PR_NUMBER == "master" ] || [ $PR_NUMBER == "gh-readonly-queue"]; then +if [[ $PR_NUMBER == "master" ]] || [[ $PR_NUMBER == "gh-readonly-queue" ]]; then exit 0 fi