diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91f1fb2..811b514 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,15 @@ workflow: rules: - - if: $CI_PIPELINE_SOURCE == "merge request event" + - if: $CI_PIPELINE_SOURCE == "web" + - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH - -stages: - - security - - lint - include: - template: Security/SAST.gitlab-ci.yml - - template: Security/DAST.gitlab-ci.yml -sast: - stage: security - -dast: - stage: security +stages: + - security + - test markdown_lint: stage: lint @@ -26,4 +19,4 @@ markdown_lint: - changes: - "**/*.md" script: - - markdownlint . \ No newline at end of file + - markdownlint .