fix(md_linting): must lint on git tag
!27 nofusscomputing/projects/docker-mail!3
This commit is contained in:
@ -42,7 +42,14 @@
|
||||
MD_LINT_CONFIG_PATH: "$CI_PROJECT_DIR/website-template"
|
||||
extends: .Lint_Markdown
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
when: never
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
exists:
|
||||
- "docs/index.md"
|
||||
when: always
|
||||
- if: '$CI_COMMIT_BRANCH'
|
||||
exists:
|
||||
- "docs/index.md"
|
||||
when: always
|
||||
- when: never
|
Reference in New Issue
Block a user