File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ jobs:
309309 exit-code : " 1"
310310 trivy-config : trivy.yaml
311311 - name : Generate and check go SBOMs
312- if : ${{ steps.check_languages.outputs.uses_java == 'true' }}
312+ if : ${{ steps.check_languages.outputs.uses_go == 'true' }}
313313 uses : aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
314314 with :
315315 scan-type : " fs"
@@ -321,7 +321,7 @@ jobs:
321321 output : " dependency_results_go.txt"
322322 exit-code : " 1"
323323 - name : Generate and check java SBOMs
324- if : ${{ steps.check_languages.outputs.uses_go == 'true' }}
324+ if : ${{ steps.check_languages.outputs.uses_java == 'true' }}
325325 uses : aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
326326 with :
327327 scan-type : " fs"
@@ -330,7 +330,7 @@ jobs:
330330 severity : " CRITICAL,HIGH"
331331 scanners : " vuln"
332332 format : " table"
333- output : " dependency_results_go .txt"
333+ output : " dependency_results_java .txt"
334334 exit-code : " 1"
335335 trivy-config : trivy.yaml
336336 - name : Show scan output
You can’t perform that action at this time.
0 commit comments