chore(ci): add yamllint
This commit is contained in:
parent
503a857e2c
commit
75c4135a09
2 changed files with 23 additions and 0 deletions
11
.woodpecker.yaml
Normal file
11
.woodpecker.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
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