fix(jobs): jobs that occur on push should also run on 'trigger'

!33 #26
This commit is contained in:
2023-05-28 13:18:06 +09:30
parent fff7d31498
commit a010f7bab1
12 changed files with 42 additions and 22 deletions

View File

@ -67,8 +67,8 @@ gemnasium-python-dependency_scanning:
- if: $CI_COMMIT_BRANCH &&
$GITLAB_FEATURES =~ /\bdependency_scanning\b/ &&
$DS_DEFAULT_ANALYZERS =~ /gemnasium-python/ &&
$PIP_REQUIREMENTS_FILE &&
$CI_PIPELINE_SOURCE == "push"
$PIP_REQUIREMENTS_FILE &&
( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "pipeline")
Ansible Dependencies:
extends: .gemnasium-python-dependency_scanning