From 55db082f617538c88d1309a8992664d99c3c6440 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Fri, 12 Aug 2022 19:26:19 +0200 Subject: [PATCH] ci(lint): add `when` constraints --- .woodpecker/lint.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 10bad72..f81c34b 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -11,3 +11,8 @@ pipeline: commands: - apk add just stylua - just check-format + +when: + branch: master + path: + include: [ '.woodpecker/lint.yml', '*.lua' ]