Commit 1749b9b9 authored by Sean McGivern's avatar Sean McGivern

Include EE changelogs in yamllint job

As yamllint errors when a path doesn't exist, we have to make sure to
only add ee/changelogs when ee/ exists. (i.e. we're not adding this
check in the FOSS version.)
parent 47e0b3ee
......@@ -10,5 +10,8 @@ lint-ci-gitlab:
- "**/*.yml"
image: sdesbure/yamllint:latest
dependencies: []
variables:
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs
script:
- yamllint .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs
- '[[ -d "ee/" ]] && export LINT_PATHS="$LINT_PATHS ee/changelogs"'
- yamllint $LINT_PATHS
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment