From 1fd624717d4f4e82d614b7a201a22e7ad7ce264c Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 4 Nov 2022 11:26:51 -0600 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 4104daef..417ed52c 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -134,7 +134,7 @@ else CURRENT_BRANCH=$GITHUB_HEAD_REF echo "Fetching remote refs..." - git fetch --no-tags -u --progress --deepen=40000 + git fetch --no-tags -u --progress --deepen=40000 origin "$CURRENT_BRANCH":"$CURRENT_BRANCH" git fetch --no-tags -u --progress --depth="$INPUT_FETCH_DEPTH" origin "$TARGET_BRANCH":"$TARGET_BRANCH" echo "::debug::Getting HEAD SHA..."