Skip to content

Commit a960bce

Browse files
committed
Tester sha fremfor navnet på branchen
1 parent 1862eff commit a960bce

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
@@ -37,7 +37,7 @@ jobs:
3737
echo "${yellow}Checking if there has been changes to source code by running git diff on the src folder excluding markdown files${reset}"
3838
3939
if [ ${{ github.event_name == 'pull_request' }} ]; then
40-
changes=$(git diff "${{ github.event.pull_request.base.ref }}".."${{ github.event.pull_request.head.sha }}" --ignore-all-space --name-only -- src/)
40+
changes=$(git diff "${{ github.event.pull_request.base.sha }}".."${{ github.event.pull_request.head.sha }}" --ignore-all-space --name-only -- src/)
4141
else
4242
changes=$(git diff "${{ github.ref_name }}^" "${{ github.ref_name }}" --ignore-all-space --name-only -- src/)
4343
fi

0 commit comments

Comments
 (0)