ci(lint): fix `when` closes

This commit is contained in:
Aire-One 2022-08-12 19:45:52 +02:00
parent 55db082f61
commit 485ff3bff9
1 changed files with 7 additions and 5 deletions

View File

@ -5,14 +5,16 @@ pipeline:
commands: commands:
- apk add just - apk add just
- just check-lua - just check-lua
when:
path:
include: [".woodpecker/lint.yml", "*.lua"]
style: style:
image: alpine:edge # Stylua is only available on edge repository for now image: alpine:edge # Stylua is only available on edge repository for now
group: lint group: lint
commands: commands:
- apk add just stylua - apk add just stylua
- just check-format - just check-format
when: when:
branch: master
path: path:
include: [ '.woodpecker/lint.yml', '*.lua' ] include: [".woodpecker/lint.yml", "*.lua"]