From 3a780d56b8c4129979cfe518763c2870507c7bf0 Mon Sep 17 00:00:00 2001 From: Farnaz Babaeian Date: Wed, 24 Jul 2024 14:20:13 +0200 Subject: [PATCH] Add chart lint to the workflows --- .github/workflows/chart-lints.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chart-lints.yaml b/.github/workflows/chart-lints.yaml index d559428..6273a72 100644 --- a/.github/workflows/chart-lints.yaml +++ b/.github/workflows/chart-lints.yaml @@ -32,4 +32,7 @@ jobs: changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) if [[ -n "$changed" ]]; then echo "changed=true" >> "$GITHUB_OUTPUT" - fi \ No newline at end of file + fi + - name: Run chart-testing (lint) + if: steps.list-changed.outputs.changed == 'true' + run: ct lint --chart-dirs=testdata --target-branch ${{ github.event.repository.default_branch }} \ No newline at end of file