scripts/check-release-notes.sh: fix bash expression

This commit is contained in:
@RandyMcMillan 2023-07-13 12:51:40 -04:00
parent e8c11b9898
commit f2b3674b3a
No known key found for this signature in database
GPG Key ID: 85495A938B7F78DF

View File

@ -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