From 3a8865b5a57972132b947d2228e6bb743ccd80b0 Mon Sep 17 00:00:00 2001 From: Praveen Rewar <8457124+praveenrewar@users.noreply.github.com> Date: Wed, 30 Nov 2022 15:22:40 +0530 Subject: [PATCH] Add space for if condition in trivy-scan --- .github/workflows/trivy-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index ff224c00f..90a51bd80 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -136,7 +136,7 @@ jobs: summary="${summary//$'\n'/'%0A'}" summary="${summary//$'\r'/'%0D'}" - if [[ -n $summary_binary || -n $summary_image || -n $summary_kctrl]] + if [[ -n $summary_binary || -n $summary_image || -n $summary_kctrl ]] then echo "Summary: $summary" echo "::set-output name=summary::$summary"