chainguard-images / actions

GitHub actions for the chainguard-images
Apache License 2.0
17 stars 22 forks source link

changing default output to 0 even if not scanned #32

Closed strongjz closed 2 years ago

strongjz commented 2 years ago

For testing if vul count, in the output it is helpful if the default is 0 not n/a.

To make this work

if: ${{ steps.scans.outputs.TRIVY_COUNT != '0' || steps.scans.outputs.GRYPE_COUNT != '0' || steps.scans.outputs.SNYK_COUNT != '0'  }}

Signed-off-by: James Strong strong.james.e@gmail.com