14 lines
429 B
YAML
14 lines
429 B
YAML
# Yamllint of *.yml for .gitlab-ci.yml.
|
|
# This uses rules from project root `.yamllint`.
|
|
lint-ci-gitlab:
|
|
extends:
|
|
- .default-tags
|
|
- .default-retry
|
|
- .yaml:rules
|
|
image: sdesbure/yamllint:latest
|
|
dependencies: []
|
|
variables:
|
|
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs
|
|
script:
|
|
- '[[ ! -d "ee/" ]] || export LINT_PATHS="$LINT_PATHS ee/changelogs"'
|
|
- yamllint $LINT_PATHS
|