Skip to content

Commit

Permalink
Update check-chart-versions-bump.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored Aug 10, 2023
1 parent e2ad915 commit 1df7366
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 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,11 @@ jobs:
name: List modified folders
if: github.ref != 'refs/heads/main'
run: |
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
# Extract the unique folder paths
awk -F/ '{print $1}' changes.txt | sort --unique > modified_folders.txt
Expand Down

0 comments on commit 1df7366

Please sign in to comment.