updated gitlab ci script
This commit is contained in:
@@ -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 .
|
||||||
|
|||||||
Reference in New Issue
Block a user