From e108d5543afec59722e0d239030c7768a8bfbc01 Mon Sep 17 00:00:00 2001 From: jalr Date: Mon, 11 Jun 2018 22:40:00 +0200 Subject: [PATCH] Only run security-scanner on scheduled builds --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0841ad4..8f1954c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,6 +51,8 @@ security_scanner: - set -x - export GITLAB_URL="$(echo "$CI_PROJECT_URL" | grep -Eo '^https?://[^/]*')" - security-scanner stretch + only: + - schedules .squashfs_template: &squashfs_template stage: build