Add yamllint to Woodpecker CI #154
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