Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 33f20858..c05e641b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
include:
- - template: Security/License-Management.gitlab-ci.yml
+ - template: Security/License-Scanning.gitlab-ci.yml
- template: Security/SAST.gitlab-ci.yml
- template: Security/Dependency-Scanning.gitlab-ci.yml
@@ -50,13 +50,23 @@ default:
paths:
- bin/gitlab-pages
-license_management:
+license_scanning:
stage: prepare
variables:
LICENSE_MANAGEMENT_SETUP_CMD: go mod vendor
+ rules:
+ - if: $CI_MERGE_REQUEST_ID
+ when: on_success
+ - if: $CI_COMMIT_BRANCH == 'master'
+ when: on_success
sast:
stage: prepare
+ rules:
+ - if: $CI_MERGE_REQUEST_ID
+ when: on_success
+ - if: $CI_COMMIT_BRANCH == 'master'
+ when: on_success
download deps:
extends: .go-mod-cache