Documentation/.woodpecker/lint.yaml
Dependency bot c99ae24d80 chore(deps): update mstruebing/editorconfig-checker docker tag to v3.6.1 (#769)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/769
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2026-04-18 15:34:16 +02:00

47 lines
1.1 KiB
YAML

when:
- event: [pull_request]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
lint-markdown:
image: davidanson/markdownlint-cli2:v0.20.0
commands:
- 'markdownlint-cli2 **/*.md'
when:
path:
include: ['.woodpecker/*.yaml', '*.{md,markdown}']
editor-config:
image: mstruebing/editorconfig-checker:v3.6.1
depends_on: []
prettier:
image: docker.io/woodpeckerci/plugin-prettier:1.4.1
depends_on: []
settings:
# renovate: datasource=npm depName=prettier
version: 3.8.1
links:
image: lycheeverse/lychee:0.22.0
depends_on: []
commands:
- lychee -v -t 40 --root-dir $(pwd)/content --fallback-extensions md .
lint-yaml:
image: pipelinecomponents/yamllint:0.35.9
depends_on: []
commands:
- yamllint --strict .
when:
path: '*.{yml,yaml}'
spellcheck:
image: docker.io/node:24-alpine
depends_on: []
commands:
- npm install -g corepack@latest
- corepack enable
- pnpx cspell lint --no-progress --gitignore '{**,.*}/{*,.*}'