From f81bae773ac7852623eacf629892e5237cabdfd1 Mon Sep 17 00:00:00 2001 From: Taqi Tahmid Date: Sun, 11 Jan 2026 15:02:25 +0200 Subject: [PATCH] updated gitlab ci script --- .gitlab-ci.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) 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 .