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 a5bac9d commit dc95026
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check-chart-versions-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc95026

Please sign in to comment.