diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-05-25 07:14:27 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-05-25 07:14:27 +0300 |
commit | 106be28febdab1dd1a0543ff28a8dfbfc7e27a88 (patch) | |
tree | e8ba5dc042acc9db7f022bb43038ebd2a5d68c37 /.gitlab-ci.yml | |
parent | 6d3a0ace6d73c41e7c2442e84b2cab6fe1ade22f (diff) |
Only use gosect-sast and secrets-sast scans
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c05e641b..d640f08b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,7 +60,15 @@ license_scanning: - if: $CI_COMMIT_BRANCH == 'master' when: on_success -sast: +secrets-sast: + stage: prepare + rules: + - if: $CI_MERGE_REQUEST_ID + when: on_success + - if: $CI_COMMIT_BRANCH == 'master' + when: on_success + +gosec-sast: stage: prepare rules: - if: $CI_MERGE_REQUEST_ID |