Skip to content

Commit 86a13e8

Browse files
committed
ci: fail osv-scanner on high and critical
TICKET: VL-7134
1 parent ef5bf99 commit 86a13e8

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/npmjs-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ jobs:
271271
with:
272272
scan-args: |-
273273
--config=osv-scanner.toml
274+
--severity=HIGH
275+
--severity=CRITICAL
274276
./
275277
276278
- name: Run dependency check

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
with:
4242
scan-args: |-
4343
--config=osv-scanner.toml
44+
--severity=HIGH
45+
--severity=CRITICAL
4446
./
4547
4648
- name: Set Environment Variable for Alpha

0 commit comments

Comments
 (0)