Set --depth to 1

This commit is contained in:
Stefan Zweifel 2020-12-15 20:30:42 +01:00
parent a9021d5359
commit b53a2f8baf

View File

@ -45,7 +45,7 @@ _switch_to_branch() {
if "$INPUT_SKIP_FETCH"; then if "$INPUT_SKIP_FETCH"; then
echo "::debug::git-fetch has not been executed"; echo "::debug::git-fetch has not been executed";
else else
git fetch --depth=3; git fetch --depth=1;
fi fi
# Switch to branch from current Workflow run # Switch to branch from current Workflow run