We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5805497 commit e7d3c30Copy full SHA for e7d3c30
.github/workflows/buildAndPublish.yml
@@ -38,7 +38,7 @@ jobs:
38
echo "${yellow}Checking if there has been changes to source code by running git diff on the src folder excluding markdown files${reset}"
39
40
if [ ${{ github.event_name == 'pull_request' }} ]; then
41
- changes=$(git diff ${{ github.event.pull_request.base.ref }}..${{ github.sha }} --ignore-all-space --name-only -- src/)
+ changes=$(git diff ${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }} --ignore-all-space --name-only -- src/)
42
else
43
changes=$(git diff "${{ github.ref_name }}^" "${{ github.ref_name }}" --ignore-all-space --name-only -- src/)
44
fi
0 commit comments