From 66c1dc9c67137f4d180ab65a558bf3490cc70e67 Mon Sep 17 00:00:00 2001 From: Anton Potapov <47938145+Flagro@users.noreply.github.com> Date: Sat, 2 Mar 2024 23:05:12 +0100 Subject: [PATCH] Refactor linting workflow and ignore Helm templates --- .github/workflows/lint.yaml | 11 +++++++++-- .yamllint | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 5c4c2cb..96b1c3f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,4 +1,4 @@ -name: Python Linting +name: Linting on: push: @@ -7,7 +7,7 @@ on: workflow_dispatch: jobs: - python-lint: + lint: runs-on: ubuntu-latest steps: @@ -39,3 +39,10 @@ jobs: - name: Lint YAML files run: | yamllint . + + - name: Setup Helm + uses: azure/setup-helm@v1 + + - name: Lint Helm Chart + run: | + helm lint ./helm diff --git a/.yamllint b/.yamllint index 6988dad..63d7897 100644 --- a/.yamllint +++ b/.yamllint @@ -1,5 +1,8 @@ extends: default +ignore: | + ./helm/templates/* + rules: line-length: max: 127