1
0
mirror of https://github.com/stefanzweifel/git-auto-commit-action.git synced 2026-02-02 18:03:26 +08:00

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
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