From c54e638a31fd10ec9b03ad1c6505c8ea03099852 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 18 Jan 2023 16:51:30 -0700 Subject: [PATCH] Update diff-sha.sh --- diff-sha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff-sha.sh b/diff-sha.sh index cf27d5fd..ca284b90 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -207,7 +207,7 @@ else PREVIOUS_SHA=$(git merge-base "$TARGET_BRANCH" "$CURRENT_SHA") && exit_status=$? || exit_status=$? if ! git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then - PREVIOUS_SHA=$(git rev-parse "$TARGET_BRANCH") && exit_status=$? || exit_status=$? + PREVIOUS_SHA=$(git rev-parse origin/"$TARGET_BRANCH") && exit_status=$? || exit_status=$? fi fi