From 7bee4bb711147b613372f9765b56e9ea336eecc2 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Nov 2024 22:08:03 -0500 Subject: [PATCH] fix: use double quotes --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b54f7c7..4ad3a82 100644 --- a/action.yml +++ b/action.yml @@ -182,7 +182,7 @@ runs: CC_BRANCH=${{ inputs.override_branch }} is_Fork=$(${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }}) - if [ -z $CC_BRANCH ] && [ -z $CODECOV_TOKEN ] && [ "$is_fork" == "true" ]; + if [ -z "$CC_BRANCH" ] && [ -z "$CODECOV_TOKEN" ] && [ "$is_fork" == "true" ]; then echo -e "\033[0;32m==>\033[0m Fork detected, tokenless uploading used" TOKENLESS=${{ github.event.pull_request.head.label }};