27 lines
489 B
YAML
27 lines
489 B
YAML
|
---
|
||
|
|
||
|
when:
|
||
|
event: pull_request
|
||
|
|
||
|
steps:
|
||
|
woodpecker:
|
||
|
image: woodpeckerci/woodpecker-cli:v2.7.0-alpine
|
||
|
commands:
|
||
|
- woodpecker-cli lint .woodpecker/*.yml
|
||
|
when:
|
||
|
path: .woodpecker/**/*.yml
|
||
|
depends_on: []
|
||
|
|
||
|
dockerfile:
|
||
|
image: ghcr.io/hadolint/hadolint:v2.12.0
|
||
|
when:
|
||
|
path:
|
||
|
- Dockerfile
|
||
|
depends_on: []
|
||
|
|
||
|
cspell:
|
||
|
image: ghcr.io/streetsidesoftware/cspell:8.13.1
|
||
|
commands:
|
||
|
- /usr/local/bin/cspell-cli lint .
|
||
|
depends_on: []
|