From 320dce4eb24117b405c08cf0815d00070c2dc988 Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Thu, 15 Dec 2022 10:20:49 +0100 Subject: [PATCH] Only run tests if a chart changed Signed-off-by: Marco Franssen --- .github/workflows/helm-chart-ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm-chart-ci.yaml b/.github/workflows/helm-chart-ci.yaml index 80fa796..c064f83 100644 --- a/.github/workflows/helm-chart-ci.yaml +++ b/.github/workflows/helm-chart-ci.yaml @@ -74,6 +74,8 @@ jobs: needs: - lint-chart + if: needs.lint-chart.outputs.changed == 'true' + strategy: fail-fast: false matrix: @@ -112,7 +114,6 @@ jobs: - name: Create kind ${{ matrix.k8s }} cluster uses: helm/kind-action@v1.4.0 # Only build a kind cluster if there are chart changes to test. - if: needs.lint-chart.outputs.changed == 'true' with: version: v0.17.0 node_image: kindest/node:${{ matrix.k8s }}