Skip to content

Commit 270df5a

Browse files
committed
BN-35 | Fail workflows only for CRITICAL security vulnerabilities
1 parent 623469e commit 270df5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
scan-type: 'fs'
3737
format: 'table'
3838
exit-code: '1'
39-
severity: 'CRITICAL,HIGH'
39+
severity: 'CRITICAL'
4040

4141
- name: Build
4242
run: yarn build
@@ -67,7 +67,7 @@ jobs:
6767
image-ref: 'clinical-frontend:local'
6868
format: 'table'
6969
exit-code: '1'
70-
severity: 'CRITICAL,HIGH'
70+
severity: 'CRITICAL'
7171

7272
- name: Tag and push Docker image
7373
run: |

0 commit comments

Comments
 (0)