From fca5e1347cc75d86a2ae9582526e7c5b79e402a9 Mon Sep 17 00:00:00 2001 From: Dustin Lactin Date: Mon, 11 Mar 2024 12:31:56 -0600 Subject: [PATCH] fix(diff-rendered-charts): Updated render jobs to check if Chart.yaml exists before rendering the charts --- .github/workflows/diff-rendered-charts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/diff-rendered-charts.yml b/.github/workflows/diff-rendered-charts.yml index 3b46708..68e3611 100644 --- a/.github/workflows/diff-rendered-charts.yml +++ b/.github/workflows/diff-rendered-charts.yml @@ -47,7 +47,7 @@ jobs: mkdir -p shared/head-charts git fetch origin ${{ github.head_ref }} git checkout ${{ github.head_ref }} -- - if [ -d "${{ matrix.chart }}" ]; then + if [ -f "${{ matrix.chart }}/Chart.yaml" ]; then helm dependency build "${{ matrix.chart }}" values_files="${{ matrix.chart }}"/values-* for values_file in $(basename -a $values_files); do @@ -80,7 +80,7 @@ jobs: mkdir -p shared/base-charts git fetch origin ${{ github.base_ref }} git checkout ${{ github.base_ref }} -- - if [ -d "${{ matrix.chart }}" ]; then + if [ -f "${{ matrix.chart }}/Chart.yaml" ]; then helm dependency build "${{ matrix.chart }}" values_files="${{ matrix.chart }}"/values-* for values_file in $(basename -a $values_files); do