Skip to content

Commit

Permalink
chore: CI: do not fetch complete history
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha authored Jun 13, 2024
1 parent 6d265b4 commit 16cad2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ jobs:
# (needs to be after "Install *" to use the right shell)
- name: CI Merge Checkout
run: |
git fetch origin ${{ github.sha }}
git fetch --depth=1 origin ${{ github.sha }}
git checkout FETCH_HEAD flake.nix flake.lock
if: github.event_name == 'pull_request'
# (needs to be after "Checkout" so files don't get overriden)
Expand Down

0 comments on commit 16cad2b

Please sign in to comment.