From 57d9664f8e2aa45f26bcb59095f99aa47ae8e90d Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 19 Jan 2023 14:15:50 -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 8babc4ed..47ef6a9b 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -63,7 +63,7 @@ if [[ -z $GITHUB_EVENT_PULL_REQUEST_BASE_REF ]]; then if [[ -f .git/shallow ]]; then echo "Fetching remote refs..." # shellcheck disable=SC2086 - git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin "$CURRENT_BRANCH" 1>/dev/null + git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin "$CURRENT_BRANCH" 1>/dev/null || true fi echo "::debug::Getting HEAD SHA..."