From a2e39f9265ac0d2c4750f90117f313d3dc6b17cf Mon Sep 17 00:00:00 2001 From: Daniel Stevens Date: Fri, 22 Nov 2024 18:03:11 -0700 Subject: [PATCH] Be more restrictive when fetching default branch We don't want to download the head of every branch in the remote repository, only the default branch. --- .github/workflows/buildDockerBuildEnv.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buildDockerBuildEnv.yml b/.github/workflows/buildDockerBuildEnv.yml index 4d0332bb..6912731e 100644 --- a/.github/workflows/buildDockerBuildEnv.yml +++ b/.github/workflows/buildDockerBuildEnv.yml @@ -31,7 +31,7 @@ jobs: - name: Fetch default branch run: | git remote set-branches --add origin "${defaultBranch}" - git fetch --depth 1 + git fetch --depth 1 origin "${defaultBranch}" - name: Check for changes id: diff