2024-06-11 07:51:22 +00:00
|
|
|
when:
|
|
|
|
- event: [pull_request]
|
|
|
|
- event: push
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
lint-markdown:
|
|
|
|
image: davidanson/markdownlint-cli2:v0.13.0
|
|
|
|
commands:
|
|
|
|
- 'markdownlint-cli2 *.{md,markdown}'
|
|
|
|
when:
|
|
|
|
path: '*.{md,markdown}'
|
|
|
|
|
|
|
|
editor-config:
|
|
|
|
image: mstruebing/editorconfig-checker:v3.0.1
|
|
|
|
depends_on: []
|
|
|
|
|
|
|
|
prettier:
|
|
|
|
image: docker.io/woodpeckerci/plugin-prettier:0.1.0
|
|
|
|
depends_on: []
|
|
|
|
settings:
|
|
|
|
version: 3.2.5
|
|
|
|
|
|
|
|
links:
|
|
|
|
image: lycheeverse/lychee:0.14.3
|
|
|
|
depends_on: []
|
|
|
|
commands:
|
2024-06-12 08:35:42 +00:00
|
|
|
- lychee -v -t 40 .
|
2024-06-11 07:51:22 +00:00
|
|
|
|
|
|
|
lint-yaml:
|
|
|
|
image: pipelinecomponents/yamllint:0.31.2
|
|
|
|
depends_on: []
|
|
|
|
commands:
|
|
|
|
- yamllint --strict .
|
|
|
|
when:
|
|
|
|
path: '*.{yml,yaml}'
|