mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-06 05:22:52 +00:00
feat: 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:
@@ -752,7 +752,7 @@ export function getRules(configuration: Configuration): Rules {
|
|||||||
'schedules',
|
'schedules',
|
||||||
],
|
],
|
||||||
script: [
|
script: [
|
||||||
'npm audit',
|
'npm audit --audit-level=high',
|
||||||
],
|
],
|
||||||
stage: 'audit',
|
stage: 'audit',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user