---
yamllint:
  interruptible: true
  image: ${CI_REGISTRY}/cubicweb/dockerfiles/python-logilab:latest
  tags:
    - lint
    - yamllint
  stage: lint
  rules:
    - changes:
        - "**/*.yaml"
        - "*.yaml"
        - "**/*.yml"
        - "*.yml"
  script:
    - tox -e yamllint
