diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c8bae3..52a347a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,22 +85,11 @@ package-uberjar: paths: - target/uberjar -sast: - variables: - SAST_EXCLUDED_ANALYZERS: - bandit, brakeman, flawfinder, gosec, kubesec, phpcs-security-audit, - pmd-apex, security-code-scan, sobelow, spotbugs - stage: security - before_script: - - mkdir -p builds && cp -r target/ builds/ -include: - - template: Security/SAST.gitlab-ci.yml - upload-clj-release: <<: *clj stage: upload rules: - - if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG != null' + - if: '$CI_COMMIT_TAG != null' script: - lein deploy clojars