Commit 491a939f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch '39951-fix-gemnasium-created-with-gemnasium-maven' into 'master'

fix gemnasium-maven also creating gemnasium job

Closes #39951

See merge request gitlab-org/gitlab!22025
parents 82aadc77 2df3254e
---
title: Fix regex matching for gemnasium dependency scanning jobs
merge_request: 22025
author: Maximilian Stendler
type: fix
......@@ -88,7 +88,7 @@ gemnasium-dependency_scanning:
only:
variables:
- $GITLAB_FEATURES =~ /\bdependency_scanning\b/ &&
$DS_DEFAULT_ANALYZERS =~ /gemnasium/ &&
$DS_DEFAULT_ANALYZERS =~ /gemnasium([^-]|$)/ &&
$CI_PROJECT_REPOSITORY_LANGUAGES =~ /ruby|javascript|php/
gemnasium-maven-dependency_scanning:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment