Update diff-sha.sh

This commit is contained in:
Tonye Jack
2022-12-16 10:53:49 -07:00
committed by GitHub
parent 41bac1e2f7
commit acd99f22a7

View File

@@ -245,7 +245,7 @@ else
depth=$INPUT_FETCH_DEPTH
max_depth=$INPUT_MAX_FETCH_DEPTH
for ((i=0; i<max_depth; i+=depth)); do
for ((i=depth; i<max_depth; i+=depth)); do
if git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then
break
fi