Skip to content

Commit

Permalink
Be more restrictive when fetching default branch
Browse files Browse the repository at this point in the history
We don't want to download the head of every branch in the remote repository, only the default branch.
  • Loading branch information
DanRStevens committed Nov 23, 2024
1 parent 1ba0abf commit abd5d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/buildDockerBuildEnv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abd5d3a

Please sign in to comment.