Skip to content

Commit 054e6f6

Browse files
committed
Bruker github.ref istedenfor HEAD
1 parent 595e6e9 commit 054e6f6

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
@@ -50,7 +50,7 @@ jobs:
5050
echo "${newLine}"
5151
echo "${yellow}Checking if there has been changes to source code by running git diff on the src folder excluding markdown files${reset}"
5252
53-
changes=$(git diff HEAD^ HEAD --ignore-all-space --name-only -- src/)
53+
changes=$(git diff ${{ github.ref }}^ ${{ github.ref }} --ignore-all-space --name-only -- src/)
5454
nonMarkdownChanges=""
5555
continueWorkflow=true
5656

0 commit comments

Comments
 (0)