Skip to content

Commit

Permalink
different listing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
sordina committed Apr 15, 2024
1 parent 4c6abfa commit fd4d8d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/registry-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
id: list_files
run: |
if [ "${{ steps.check_first_commit.outputs.first_commit }}" == "true" ]; then
git ls-tree --name-only -r ${{ github.sha }} > changed_files.txt
git log --pretty=format:'' --name-only --max-parents=0 ${{ github.sha }} > changed_files.txt
else
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changed_files.txt
fi

0 comments on commit fd4d8d3

Please sign in to comment.