2024-06-11 00:51:22 -07:00
|
|
|
when:
|
|
|
|
|
- event: [pull_request]
|
|
|
|
|
- event: push
|
|
|
|
|
branch:
|
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
lint-markdown:
|
2026-07-23 17:05:11 -07:00
|
|
|
image: davidanson/markdownlint-cli2:v0.23.1
|
2024-06-11 00:51:22 -07:00
|
|
|
commands:
|
2025-12-18 17:12:14 -08:00
|
|
|
- 'markdownlint-cli2 **/*.md'
|
2024-06-11 00:51:22 -07:00
|
|
|
when:
|
2025-11-21 03:37:47 -08:00
|
|
|
path:
|
|
|
|
|
include: ['.woodpecker/*.yaml', '*.{md,markdown}']
|
2024-06-11 00:51:22 -07:00
|
|
|
|
|
|
|
|
editor-config:
|
2026-07-31 01:06:31 -07:00
|
|
|
image: mstruebing/editorconfig-checker:v3.8.0
|
2024-06-11 00:51:22 -07:00
|
|
|
depends_on: []
|
|
|
|
|
|
|
|
|
|
prettier:
|
2026-01-23 03:24:07 -08:00
|
|
|
image: docker.io/woodpeckerci/plugin-prettier:1.4.1
|
2024-06-11 00:51:22 -07:00
|
|
|
depends_on: []
|
|
|
|
|
settings:
|
2025-10-20 07:11:50 -07:00
|
|
|
# renovate: datasource=npm depName=prettier
|
2026-07-28 01:08:29 -07:00
|
|
|
version: 3.9.6
|
2024-06-11 00:51:22 -07:00
|
|
|
|
|
|
|
|
links:
|
2026-07-31 00:50:43 -07:00
|
|
|
image: lycheeverse/lychee:0.24.2
|
2024-06-11 00:51:22 -07:00
|
|
|
depends_on: []
|
|
|
|
|
commands:
|
2026-01-16 09:40:09 -08:00
|
|
|
- lychee -v -t 40 --root-dir $(pwd)/content --fallback-extensions md .
|
2024-06-11 00:51:22 -07:00
|
|
|
|
|
|
|
|
lint-yaml:
|
2026-07-12 20:55:33 -07:00
|
|
|
image: pipelinecomponents/yamllint:0.35.13
|
2024-06-11 00:51:22 -07:00
|
|
|
depends_on: []
|
|
|
|
|
commands:
|
|
|
|
|
- yamllint --strict .
|
|
|
|
|
when:
|
|
|
|
|
path: '*.{yml,yaml}'
|
2024-06-12 03:20:37 -07:00
|
|
|
|
|
|
|
|
spellcheck:
|
2025-12-03 07:07:55 -08:00
|
|
|
image: docker.io/node:24-alpine
|
2024-06-12 03:20:37 -07:00
|
|
|
depends_on: []
|
|
|
|
|
commands:
|
2025-02-06 08:46:03 -08:00
|
|
|
- npm install -g corepack@latest
|
2024-06-12 03:20:37 -07:00
|
|
|
- corepack enable
|
|
|
|
|
- pnpx cspell lint --no-progress --gitignore '{**,.*}/{*,.*}'
|