Skip to content

Commit 6498ab1

Browse files
committed
Fixed the test
1 parent 8aea4cf commit 6498ab1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

diff-sha.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ if [[ -z $GITHUB_EVENT_PULL_REQUEST_BASE_REF ]]; then
6161
echo "Fetching remote refs..."
6262
# shellcheck disable=SC2086
6363
git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin +refs/heads/"$CURRENT_BRANCH":refs/remotes/origin/"$CURRENT_BRANCH" 1>/dev/null
64-
git submodule update --init --recursive || true
64+
# shellcheck disable=SC2086
65+
git submodule foreach git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" || true
6566
fi
6667

6768
echo "::debug::Getting HEAD SHA..."

0 commit comments

Comments
 (0)