From 61d19f34136fadf63099a92b3302e059c03ca01e Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Mon, 7 Oct 2024 08:44:26 +0200 Subject: [PATCH] Add woodpecker pipeline for yamllint --- .woodpecker/.yamllint.yaml | 6 ++++++ .yamllint | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .woodpecker/.yamllint.yaml create mode 100644 .yamllint diff --git a/.woodpecker/.yamllint.yaml b/.woodpecker/.yamllint.yaml new file mode 100644 index 0000000..af15cd1 --- /dev/null +++ b/.woodpecker/.yamllint.yaml @@ -0,0 +1,6 @@ +--- +steps: + - name: linting + image: cytopia/yamllint:latest + commands: + - yamllint -f colored -s . diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..76dfcf9 --- /dev/null +++ b/.yamllint @@ -0,0 +1,10 @@ +--- +yaml-files: + - '*.yaml' + - '*.yml' + - '.yamllint' + +extends: default + +rules: + line-length: disable