Skip to content

Commit c7930db

Browse files
committed
Switch to always
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
1 parent 0e15f69 commit c7930db

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/quality-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ jobs:
263263
path: sbom.cdx.json
264264

265265
- name: Check python vulnerabilities
266-
if: ${{always() && steps.check_languages.outputs.uses_poetry == 'true'}}
266+
if: ${{ always() && steps.check_languages.outputs.uses_poetry == 'true'}}
267267
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478
268268
with:
269269
scan-type: "fs"
@@ -276,7 +276,7 @@ jobs:
276276
exit-code: "1"
277277
trivy-config: trivy.yaml
278278
- name: Check node vulnerabilities
279-
if: ${{ steps.check_languages.outputs.uses_node == 'true' && failure() }}
279+
if: ${{ always() && steps.check_languages.outputs.uses_node == 'true' }}
280280
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478
281281
with:
282282
scan-type: "fs"
@@ -289,7 +289,7 @@ jobs:
289289
exit-code: "1"
290290
trivy-config: trivy.yaml
291291
- name: Check go vulnerabilities
292-
if: ${{ steps.check_languages.outputs.uses_go == 'true' && failure()}}
292+
if: ${{ always() && steps.check_languages.outputs.uses_go == 'true' }}
293293
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478
294294
with:
295295
scan-type: "fs"
@@ -301,7 +301,7 @@ jobs:
301301
output: "dependency_results_go.txt"
302302
exit-code: "1"
303303
- name: Check java vulnerabilities
304-
if: ${{ steps.check_languages.outputs.uses_java == 'true' && failure()}}
304+
if: ${{ always() && steps.check_languages.outputs.uses_java == 'true' }}
305305
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478
306306
with:
307307
scan-type: "fs"

0 commit comments

Comments
 (0)