Fix SAST job execution conditions

This commit is contained in:
proletarius101 2021-12-12 17:10:55 +00:00
parent aec3387b9a
commit 5d6f03a778

View file

@ -411,6 +411,15 @@ sast:
ANALYZER_TARGET_DIR: $CI_PROJECT_DIR/tmp/
needs:
- fdroid build
rules:
- if: '$CI_DEFAULT_BRANCH && $CI_PROJECT_PATH == "fdroid/fdroiddata"'
when: never
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- if: '$CI_PIPELINE_SOURCE == "trigger"'
when: never
mobsf-ios-sast:
rules: