Add woodpecker pipeline for yamllint
This commit is contained in:
parent
adbdc97a31
commit
61d19f3413
2 changed files with 16 additions and 0 deletions
6
.woodpecker/.yamllint.yaml
Normal file
6
.woodpecker/.yamllint.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
steps:
|
||||
- name: linting
|
||||
image: cytopia/yamllint:latest
|
||||
commands:
|
||||
- yamllint -f colored -s .
|
10
.yamllint
Normal file
10
.yamllint
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
yaml-files:
|
||||
- '*.yaml'
|
||||
- '*.yml'
|
||||
- '.yamllint'
|
||||
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
line-length: disable
|
Loading…
Reference in a new issue