diff --git a/.github/workflows/check-chart-versions-bump.yml b/.github/workflows/check-chart-versions-bump.yml index 115051856..bd0f66400 100644 --- a/.github/workflows/check-chart-versions-bump.yml +++ b/.github/workflows/check-chart-versions-bump.yml @@ -11,8 +11,14 @@ jobs: name: List modified folders if: github.ref != 'refs/heads/main' run: | + echo "ls workspace" + ls ${{ github.workspace }} # Get the list of modified files and folders - git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changes.txt + # git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changes.txt + git diff --name-only ${{ github.event.after }} ${{ github.event.before }} > changes.txt + + echo "cat changes.txt" + cat changes.txt # Extract the unique folder paths awk -F/ '{print $1}' changes.txt | sort --unique > modified_folders.txt