feat: add linting workflows
Some checks failed
ci/woodpecker/manual/gitleaks Pipeline was successful
ci/woodpecker/manual/markdownlint Pipeline was successful
ci/woodpecker/manual/ansible-lint Pipeline failed
ci/woodpecker/manual/yamllint Pipeline was canceled

This commit is contained in:
Simon Cornet 2026-05-11 12:21:27 +02:00
commit d5e76cf883
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,15 @@
---
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 ."

View file

@ -0,0 +1,15 @@
---
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
.woodpecker/yamllint.yml Normal file
View file

@ -0,0 +1,15 @@
---
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 ."