From dc95026f999fb421bc40d44509ff85b727cd2199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:41:07 +0200 Subject: [PATCH] Update check-chart-versions-bump.yml --- .github/workflows/check-chart-versions-bump.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-chart-versions-bump.yml b/.github/workflows/check-chart-versions-bump.yml index bd0f66400..479c0a0c0 100644 --- a/.github/workflows/check-chart-versions-bump.yml +++ b/.github/workflows/check-chart-versions-bump.yml @@ -12,10 +12,14 @@ jobs: if: github.ref != 'refs/heads/main' run: | echo "ls workspace" - ls ${{ github.workspace }} + echo "ls workspace" + echo "ls workspace" + + gh pr view ${{ github.event.pull_request.number }} --json files -q '.files[].path' | grep "^charts/" + # 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.after }} ${{ github.event.before }} > changes.txt + # git diff --name-only ${{ github.event.after }} ${{ github.event.before }} > changes.txt echo "cat changes.txt" cat changes.txt