mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-10-31 22:38:49 +00:00
36 lines
1 KiB
YAML
36 lines
1 KiB
YAML
when:
|
|
- event: pull_request
|
|
- event: push
|
|
branch: renovate/*
|
|
|
|
steps:
|
|
- name: lint-editorconfig
|
|
image: docker.io/mstruebing/editorconfig-checker:2.7.2
|
|
depends_on: []
|
|
when:
|
|
- event: pull_request
|
|
- event: push
|
|
branch: renovate/*
|
|
|
|
- name: spellcheck
|
|
image: docker.io/node:22-alpine
|
|
depends_on: []
|
|
commands:
|
|
- corepack enable
|
|
- pnpx cspell lint --no-progress --gitignore '{**,.*}/{*,.*}'
|
|
- apk add --no-cache -U tree # busybox tree dont understand "-I"
|
|
- tree --gitignore -I 012_columns_rename_procs_to_steps.go -I versioned_docs -I '*opensource.svg'| pnpx cspell lint --no-progress stdin
|
|
|
|
- name: prettier
|
|
image: docker.io/woodpeckerci/plugin-prettier:0.1.0
|
|
depends_on: []
|
|
settings:
|
|
version: 3.2.5
|
|
|
|
- name: links
|
|
image: lycheeverse/lychee:0.14.3
|
|
depends_on: []
|
|
commands:
|
|
- lychee pipeline/frontend/yaml/linter/schema/schema.json
|
|
- lychee --exclude localhost docs/docs/
|
|
- lychee --exclude localhost docs/src/pages/
|