From b53a2f8baf51055d691e380828085b7e8825ce1c Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Tue, 15 Dec 2020 20:30:42 +0100 Subject: [PATCH] Set --depth to 1 --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index d1e0a72..0d11b03 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -45,7 +45,7 @@ _switch_to_branch() { if "$INPUT_SKIP_FETCH"; then echo "::debug::git-fetch has not been executed"; else - git fetch --depth=3; + git fetch --depth=1; fi # Switch to branch from current Workflow run