Files
oam/.lefthook.yml
2024-02-17 18:36:58 +01:00

22 lines
387 B
YAML

no_tty: true
lint:
parallel: true
commands:
yamllint: &yamllint
glob: "*.{yaml,yml}"
run: >-
docker run --rm -v "$PWD:/code" 'registry.gitlab.com/pipeline-components/yamllint:latest'
yamllint '.'
pre-commit:
parallel: true
commands:
yamllint:
<<: *yamllint
# commit-msg:
# commands:
# commitlint:
# run: commitlint --edit