diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f4f00356c..4b921c55be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,8 +2,6 @@ include: - template: Jobs/Dependency-Scanning.latest.gitlab-ci.yml - template: Jobs/Container-Scanning.latest.gitlab-ci.yml - rules: - - if: $CI_PIPELINE_SOURCE != 'merge_request_event' - template: Jobs/SAST.latest.gitlab-ci.yml - template: Jobs/Secret-Detection.latest.gitlab-ci.yml # https://docs.gitlab.com/user/application_security/dependency_scanning/experiment_libbehave_dependency/ @@ -11,7 +9,7 @@ include: # https://stackoverflow.com/a/70360201 - component: $CI_SERVER_FQDN/TransFem-org/libbehave/libbehave@v0.1.0 rules: - - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' variables: @@ -35,6 +33,7 @@ variables: # https://docs.gitlab.com/user/application_security/detect/security_configuration/#error-chosen-stage-test-does-not-exist container_scanning: variables: + AST_ENABLE_MR_PIPELINES: 'false' CS_IMAGE: ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG} stage: deploy