diff --git a/.github/workflows/nightly-security-scan.yml b/.github/workflows/nightly-security-scan.yml index a80de4370..3abe1299b 100644 --- a/.github/workflows/nightly-security-scan.yml +++ b/.github/workflows/nightly-security-scan.yml @@ -146,12 +146,12 @@ jobs: steps: - name: display the results of js, Go, and image scan run: | - echo ${{ matrix.js.status }} - echo ${{ matrix.go.status }} - echo ${{ matrix.image.status }} - echo ${{ matrix.js.summary }} - echo ${{ matrix.go.summary }} - echo ${{ matrix.image.summary }} + echo "${{ matrix.js.status }}" + echo "${{ matrix.go.status }}" + echo "${{ matrix.image.status }}" + echo "${{ matrix.js.summary }}" + echo "${{ matrix.go.summary }}" + echo "${{ matrix.image.summary }}" - name: send message to Slack if: >- diff --git a/.github/workflows/pr-security.yml b/.github/workflows/pr-security.yml index 51e41737e..026caca75 100644 --- a/.github/workflows/pr-security.yml +++ b/.github/workflows/pr-security.yml @@ -230,10 +230,10 @@ jobs: matrix.godiff.status == 'failure' || matrix.imagediff.status == 'failure' run: | - echo ${{ matrix.jsdiff.status }} - echo ${{ matrix.godiff.status }} - echo ${{ matrix.imagediff.status }} - echo ${{ matrix.jsdiff.summary }} - echo ${{ matrix.godiff.summary }} - echo ${{ matrix.imagediff.summary }} + echo "${{ matrix.jsdiff.status }}" + echo "${{ matrix.godiff.status }}" + echo "${{ matrix.imagediff.status }}" + echo "${{ matrix.jsdiff.summary }}" + echo "${{ matrix.godiff.summary }}" + echo "${{ matrix.imagediff.summary }}" exit 1