Add comments for SAST to GitLab CI config

would use https://security-code-scan.github.io but currently there's no way to
limit it to one .sln so it tries to build cores and breaks
This commit is contained in:
YoshiRulz 2021-03-04 20:34:11 +10:00
parent 513dbcfe5c
commit c28de357a2
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#include:
#- template: Security/SAST.gitlab-ci.yml
variables:
CI_HAWK_ARTIFACT_NAME: "BizHawk_devbuild_${CI_COMMIT_SHORT_SHA}"
CI_HAWK_TMPARTIFACT_NAME: "BizHawk_tempbuild_${CI_COMMIT_REF_SLUG}_${CI_COMMIT_SHORT_SHA}"
@ -125,6 +128,11 @@ run_tests:
- Dist/BuildTestRelease.sh || Dist/BuildTestRelease.sh
stage: test
#sast:
# variables:
# SAST_EXCLUDED_ANALYZERS: bandit, brakeman, eslint, flawfinder, gosec, kubesec, nodejs-scan, phpcs-security-audit, pmd-apex, sobelow, spotbugs
# stage: test
#cache:
# key: "$CI_COMMIT_REF_SLUG"
# paths: