mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-03 20:12:51 +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:
@@ -40,7 +40,7 @@ audit:
|
||||
scheduled-audit:
|
||||
stage: audit
|
||||
script:
|
||||
- npm audit
|
||||
- npm audit --audit-level=high
|
||||
only:
|
||||
- schedules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user