updated gitlab ci script

This commit is contained in:
2026-01-11 15:02:25 +02:00
parent a016ec6bf8
commit f81bae773a

View File

@@ -1,22 +1,15 @@
workflow: workflow:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "merge request event" - if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH
stages:
- security
- lint
include: include:
- template: Security/SAST.gitlab-ci.yml - template: Security/SAST.gitlab-ci.yml
- template: Security/DAST.gitlab-ci.yml
sast: stages:
stage: security - security
- test
dast:
stage: security
markdown_lint: markdown_lint:
stage: lint stage: lint
@@ -26,4 +19,4 @@ markdown_lint:
- changes: - changes:
- "**/*.md" - "**/*.md"
script: script:
- markdownlint . - markdownlint .