From 8c9fdb4f24f1ab6673c3b3b3b4086db9ea1ddbff Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Tue, 23 Aug 2022 11:34:02 +0200 Subject: [PATCH] refactor: gitlab ci template audit job --- src/common.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/common.ts b/src/common.ts index faa528a0..2f49dc82 100644 --- a/src/common.ts +++ b/src/common.ts @@ -769,14 +769,7 @@ export function getRules(configuration: Configuration): Rules { }, }, 'npm audit': { - allow_failure: true, - except: ['schedules'], - script: ['npm audit'], - stage: 'audit', - }, - 'scheduled npm audit': { - only: ['schedules'], - script: ['npm audit --audit-level=high'], + script: ['npm audit --production'], stage: 'audit', }, 'npm package': {