mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 20:42:52 +00:00
ci: Change 'npm audit' failure behaviour
The audit fails only if the results include a vulnerability with a level of at least 'high' in scheduled pipelines.
This commit is contained in:
@@ -49,7 +49,7 @@ audit:
|
|||||||
scheduled-audit:
|
scheduled-audit:
|
||||||
stage: audit
|
stage: audit
|
||||||
script:
|
script:
|
||||||
- npm audit
|
- npm audit --audit-level=high
|
||||||
only:
|
only:
|
||||||
- schedules
|
- schedules
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user