chore(ci): add yamllint
This commit is contained in:
parent
bd6439bdfb
commit
0696d1f785
2 changed files with 25 additions and 0 deletions
13
.woodpecker.yaml
Normal file
13
.woodpecker.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
labels:
|
||||
backend: kubernetes
|
||||
steps:
|
||||
- name: linting
|
||||
image: cytopia/yamllint:latest
|
||||
commands:
|
||||
- yamllint -f colored -s .
|
||||
when:
|
||||
- event:
|
||||
- push
|
||||
- manual
|
||||
- pull_request
|
12
.yamllint
Normal file
12
.yamllint
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
yaml-files:
|
||||
- '*.yaml'
|
||||
- '*.yml'
|
||||
- '.yamllint'
|
||||
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
line-length: disable
|
||||
indentation:
|
||||
indent-sequences: consistent
|
Loading…
Add table
Reference in a new issue