Skip to content

Commit

Permalink
Merge pull request #3 from lemeurherve/lemeurherve-patch-3
Browse files Browse the repository at this point in the history
Update check-chart-versions-bump.yml
  • Loading branch information
lemeurherve authored Aug 10, 2023
2 parents e2ad915 + 716280e commit a5bac9d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/check-chart-versions-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5bac9d

Please sign in to comment.