mirror of https://github.com/portainer/portainer
fix(ci/security): intepret matrix summary as string not shell command (#8836)
parent
3654109332
commit
a7404e00d1
|
@ -146,12 +146,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: display the results of js, Go, and image scan
|
- name: display the results of js, Go, and image scan
|
||||||
run: |
|
run: |
|
||||||
echo ${{ matrix.js.status }}
|
echo "${{ matrix.js.status }}"
|
||||||
echo ${{ matrix.go.status }}
|
echo "${{ matrix.go.status }}"
|
||||||
echo ${{ matrix.image.status }}
|
echo "${{ matrix.image.status }}"
|
||||||
echo ${{ matrix.js.summary }}
|
echo "${{ matrix.js.summary }}"
|
||||||
echo ${{ matrix.go.summary }}
|
echo "${{ matrix.go.summary }}"
|
||||||
echo ${{ matrix.image.summary }}
|
echo "${{ matrix.image.summary }}"
|
||||||
|
|
||||||
- name: send message to Slack
|
- name: send message to Slack
|
||||||
if: >-
|
if: >-
|
||||||
|
|
|
@ -230,10 +230,10 @@ jobs:
|
||||||
matrix.godiff.status == 'failure' ||
|
matrix.godiff.status == 'failure' ||
|
||||||
matrix.imagediff.status == 'failure'
|
matrix.imagediff.status == 'failure'
|
||||||
run: |
|
run: |
|
||||||
echo ${{ matrix.jsdiff.status }}
|
echo "${{ matrix.jsdiff.status }}"
|
||||||
echo ${{ matrix.godiff.status }}
|
echo "${{ matrix.godiff.status }}"
|
||||||
echo ${{ matrix.imagediff.status }}
|
echo "${{ matrix.imagediff.status }}"
|
||||||
echo ${{ matrix.jsdiff.summary }}
|
echo "${{ matrix.jsdiff.summary }}"
|
||||||
echo ${{ matrix.godiff.summary }}
|
echo "${{ matrix.godiff.summary }}"
|
||||||
echo ${{ matrix.imagediff.summary }}
|
echo "${{ matrix.imagediff.summary }}"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue