From 32beb97cfa1abfd6d243286fa96bef79e818fa19 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sun, 3 Apr 2022 17:10:14 +0200 Subject: [PATCH] Update action.yaml --- .github/actions/collect-changes/action.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/collect-changes/action.yaml b/.github/actions/collect-changes/action.yaml index f3195b89d26..d678274cf1f 100644 --- a/.github/actions/collect-changes/action.yaml +++ b/.github/actions/collect-changes/action.yaml @@ -65,7 +65,6 @@ runs: filter_charts() { while read -r chart; do - echo "test ${chart}" [[ ! -d "$chart" ]] && continue if [[ $(git diff $latest_tag $chart/Chart.yaml | grep "+version") ]]; then echo "$chart" @@ -81,7 +80,7 @@ runs: local changed_files changed_files=$(git diff --find-renames --name-only "$commit" -- 'charts/**' | grep "Chart.yaml") - + echo "changed files: ${changed_files}" local depth=$(( $(tr "/" "\n" <<< 'charts/**' | sed '/^\(\.\)*$/d' | wc -l) + 1 )) local fields="1-${depth}"