chore: CI: do not fetch complete history

This commit is contained in:
Sebastian Ullrich 2024-06-13 14:50:49 +02:00 committed by GitHub
parent 6d265b42b1
commit 16cad2b45c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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