da1b77aa6a
closes #238 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org> Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/377 Co-authored-by: crapStone <crapstone01@gmail.com> Co-committed-by: crapStone <crapstone01@gmail.com>
38 lines
733 B
YAML
38 lines
733 B
YAML
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:
|
|
- lychee . -v
|
|
|
|
lint-yaml:
|
|
image: pipelinecomponents/yamllint:0.31.2
|
|
depends_on: []
|
|
commands:
|
|
- yamllint --strict .
|
|
when:
|
|
path: '*.{yml,yaml}'
|