From 2b42ecba6d85ca28f2c25b30da16bcc87dec3897 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sun, 3 Apr 2022 18:52:04 +0200 Subject: [PATCH] Update action.yaml (#2418) --- .github/actions/collect-changes/action.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/actions/collect-changes/action.yaml b/.github/actions/collect-changes/action.yaml index bef450bed99..ae5203fa4c8 100644 --- a/.github/actions/collect-changes/action.yaml +++ b/.github/actions/collect-changes/action.yaml @@ -80,7 +80,6 @@ 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}" @@ -118,12 +117,10 @@ runs: echo "Changed Charts detected since latest tag, parsing..." printf "::set-output name=changesDetectedAfterTag::%s\n" "true" - echo "Changed charts: ${changed_charts[*]}" - # Get only the chart paths # Set output to changed charts - echo "Changed charts: ${changed_charts[*]}" + echo "Changed charts: ${CHARTS[*]}" printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}" fi popd > /dev/null