From b903a20a58a66714b3840e3ced14321d442ba10e Mon Sep 17 00:00:00 2001 From: Andrea Toska Date: Mon, 28 Apr 2025 11:54:18 +0200 Subject: [PATCH] attempt to run SAST --- .gitlab-ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3098a7f..e1dfe06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ stages: - initialize-submodules - build - push - + - test # for SAST + Dependency Scanning build: stage: build @@ -31,3 +31,20 @@ push: only: - main +sast: + stage: test + allow_failure: true + artifacts: + reports: + sast: gl-sast-report.json + rules: + - if: $CI_COMMIT_BRANCH + +dependency_scanning: + stage: test + allow_failure: true + artifacts: + reports: + dependency_scanning: gl-dependency-scanning-report.json + rules: + - if: $CI_COMMIT_BRANCH