Skip to content

Commit

Permalink
fix(diff-rendered-charts): Updated render jobs to check if Chart.yaml…
Browse files Browse the repository at this point in the history
… exists before rendering the charts
  • Loading branch information
dlactin committed Mar 11, 2024
1 parent abc4889 commit fca5e13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/diff-rendered-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fca5e13

Please sign in to comment.