Skip to content

Commit 8d0bfa4

Browse files
authored
Update snyk-security.yml to not fail the pipeline
1 parent 34fed86 commit 8d0bfa4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/snyk-security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# Runs Snyk Code (SAST) analysis and uploads result into GitHub.
5555
# Use || true to not fail the pipeline
5656
- name: Snyk Code test
57-
run: snyk code test --sarif > snyk-code.sarif # || true
57+
run: snyk code test --sarif > snyk-code.sarif || true
5858

5959
# Runs Snyk Open Source (SCA) analysis and uploads result to Snyk.
6060
- name: Snyk Open Source monitor
@@ -63,7 +63,7 @@ jobs:
6363
# Runs Snyk Infrastructure as Code (IaC) analysis and uploads result to Snyk.
6464
# Use || true to not fail the pipeline.
6565
- name: Snyk IaC test and report
66-
run: snyk iac test --report # || true
66+
run: snyk iac test --report || true
6767

6868
# Build the docker image for testing
6969
- name: Build a Docker image

0 commit comments

Comments
 (0)