mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-21 21:34:53 +00:00
fix sast execution conditions
This commit is contained in:
parent
5d6f03a778
commit
8bb103ab8a
1 changed files with 8 additions and 9 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
include:
|
include:
|
||||||
- template: Security/SAST.gitlab-ci.yml
|
- template: Security/SAST.gitlab-ci.yml
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
- report
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
pip: pip3 --timeout 100 --retries 10
|
pip: pip3 --timeout 100 --retries 10
|
||||||
|
|
||||||
|
|
@ -399,6 +404,7 @@ check_git_repos:
|
||||||
- exit $EXITVALUE
|
- exit $EXITVALUE
|
||||||
|
|
||||||
sast:
|
sast:
|
||||||
|
stage: report
|
||||||
variables:
|
variables:
|
||||||
MOBSF_API_KEY: key
|
MOBSF_API_KEY: key
|
||||||
SAST_EXPERIMENTAL_FEATURES: "true"
|
SAST_EXPERIMENTAL_FEATURES: "true"
|
||||||
|
|
@ -409,17 +415,10 @@ sast:
|
||||||
|
|
||||||
# Make sure the apk is searched before the manifest, so only apks are scanned
|
# Make sure the apk is searched before the manifest, so only apks are scanned
|
||||||
ANALYZER_TARGET_DIR: $CI_PROJECT_DIR/tmp/
|
ANALYZER_TARGET_DIR: $CI_PROJECT_DIR/tmp/
|
||||||
needs:
|
|
||||||
- fdroid build
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_DEFAULT_BRANCH && $CI_PROJECT_PATH == "fdroid/fdroiddata"'
|
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
|
||||||
when: never
|
|
||||||
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
|
|
||||||
when: never
|
|
||||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
||||||
when: never
|
|
||||||
- if: '$CI_PIPELINE_SOURCE == "trigger"'
|
|
||||||
when: never
|
when: never
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
mobsf-ios-sast:
|
mobsf-ios-sast:
|
||||||
rules:
|
rules:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue