Skip to content

Commit 6113e26

Browse files
committed
Updated diff-sha.sh
1 parent 4271295 commit 6113e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-sha.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ else
7474
if [[ "$INPUT_USE_FORK_POINT" == "true" ]]; then
7575
echo "Getting fork point..."
7676
git fetch --no-tags -u --progress temp_changed_files "${TARGET_BRANCH}":"${TARGET_BRANCH}" && exit_status=$? || exit_status=$?
77-
PREVIOUS_SHA=$(git merge-base --fork-point "${TARGET_BRANCH}") && exit_status=$? || exit_status=$?
77+
PREVIOUS_SHA=$(git merge-base --fork-point "temp_changed_files/${TARGET_BRANCH}") && exit_status=$? || exit_status=$?
7878
else
7979
git fetch --no-tags -u --progress --depth=1 temp_changed_files "${TARGET_BRANCH}":"${TARGET_BRANCH}" && exit_status=$? || exit_status=$?
8080
PREVIOUS_SHA=$(git rev-list --no-merges -n 1 "${TARGET_BRANCH}" 2>&1) && exit_status=$? || exit_status=$?

0 commit comments

Comments
 (0)