Skip to content

Commit 5a94edc

Browse files
committed
La til "
1 parent e7d3c30 commit 5a94edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/buildAndPublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
echo "${yellow}Checking if there has been changes to source code by running git diff on the src folder excluding markdown files${reset}"
3939
4040
if [ ${{ github.event_name == 'pull_request' }} ]; then
41-
changes=$(git diff ${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }} --ignore-all-space --name-only -- src/)
41+
changes=$(git diff "${{ github.event.pull_request.base.ref }}".."${{ github.event.pull_request.head.sha }}" --ignore-all-space --name-only -- src/)
4242
else
4343
changes=$(git diff "${{ github.ref_name }}^" "${{ github.ref_name }}" --ignore-all-space --name-only -- src/)
4444
fi

0 commit comments

Comments
 (0)