From 5cda8c8a420399ca9687c4a981fefd50ce5a1fdd Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 7 Jun 2022 18:09:27 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- lib/gitlab/ci/templates/Security/DAST.latest.gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib/gitlab/ci/templates/Security/DAST.latest.gitlab-ci.yml') diff --git a/lib/gitlab/ci/templates/Security/DAST.latest.gitlab-ci.yml b/lib/gitlab/ci/templates/Security/DAST.latest.gitlab-ci.yml index e5ac5099546..10549b56856 100644 --- a/lib/gitlab/ci/templates/Security/DAST.latest.gitlab-ci.yml +++ b/lib/gitlab/ci/templates/Security/DAST.latest.gitlab-ci.yml @@ -48,13 +48,10 @@ dast: $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME when: never - if: $CI_DEFAULT_BRANCH != $CI_COMMIT_REF_NAME && - $REVIEW_DISABLED && $DAST_WEBSITE == null && - $DAST_API_SPECIFICATION == null + $REVIEW_DISABLED when: never - if: $CI_COMMIT_BRANCH && ($CI_KUBERNETES_ACTIVE || $KUBECONFIG) && $GITLAB_FEATURES =~ /\bdast\b/ - if: $CI_COMMIT_BRANCH && - $DAST_WEBSITE - - if: $CI_COMMIT_BRANCH && - $DAST_API_SPECIFICATION + $GITLAB_FEATURES =~ /\bdast\b/ -- cgit v1.2.3