diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index 7f6c2887df3..612f3ac75ac 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -80,7 +80,7 @@ jobs: --data '{"commit":"HEAD","branch":"ci-test", "message": ":github: Triggered from Github Actions Run: ${{ github.run_id }}","env":{ "BRANCH_TO_UPDATE": "${{ github.ref_name }}", "ACTIONS_RELEASE": "true", "CREATE_PR": "true", "UPGRADE_ACTION_DESTINATIONS": "true", "ACTION_DESTINATIONS_VERSION": "${{ env.ACTION_DESTINATIONS_VERSION }}", "ACTIONS_CORE_VERSION": "${{ env.ACTIONS_CORE_VERSION }}", "ACTIONS_RUN_ID": "${{ github.run_id }}" },"meta_data":{}}') BUILDKITE_URL=$(echo $result | jq -r '.web_url') - if [[ "${BUILDKITE_URL}" -eq null ]]; then + if [[ "${BUILDKITE_URL}" = "null" ]]; then echo "Failed to trigger Buildkite pipeline. Reason:$(echo $result | jq -r '.message')" exit 1 else