Commit d5e76cf8 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: add linting workflows

parent 63b8cf3d
Loading
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
---
when:
  - event: "push"
    branch: "main"
  - event: "manual"

depends_on:
  - "gitleaks"

steps:
  - name: "ansible-lint"
    # renovate: datasource=docker depName=docker.io/pipelinecomponents/ansible-lint
    image: "cr.simoncor.net/dockerhub/pipelinecomponents/ansible-lint:0.79.0"
    commands:
      - "ansible-lint -c .ansible-lint ."
+15 −0
Original line number Diff line number Diff line
---
when:
  - event: "push"
    branch: "main"
  - event: "manual"

depends_on:
  - "gitleaks"

steps:
  - name: "markdownlint"
    # renovate: datasource=docker depName=docker.io/davidanson/markdownlint-cli2
    image: "cr.simoncor.net/dockerhub/davidanson/markdownlint-cli2:v0.18.1"
    commands:
      - "markdownlint-cli2 --config .markdownlint-cli2.jsonc"
+15 −0
Original line number Diff line number Diff line
---
when:
  - event: "push"
    branch: "main"
  - event: "manual"

depends_on:
  - "gitleaks"

steps:
  - name: "yamllint"
    # renovate: datasource=docker depName=registry.gitlab.com/pipeline-components/yamllint
    image: "cr.simoncor.net/dockerhub/pipeline-components/yamllint:0.35.0"
    commands:
      - "yamllint -c .yamllint ."