diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1b91371266..3c574d1233 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -547,7 +547,7 @@ jobs: shell: bash run: | URL="https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }}" - if [$(curl -s -X GET -G $URL | jq -r '.files[].filename' | grep -q "cpanfile")]; then + if [ -n "$(curl -s -X GET -G $URL | jq -r '.files[].filename' | grep -q "cpanfile")" ]; then echo ::set-output name=MUST_TRIGGER::1 fi