Closed as not planned
Description
I'm getting the error below, which is strange. I would have thought actions/checkout would handle a git repository that already has lfs set up.
- uses: actions/checkout@v4.1.1
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1
lfs: true
Output:
/usr/bin/git lfs install --local
Hook already exists: pre-push
#!/bin/bash
protected_branch='master'
if read local_ref local_sha remote_ref remote_sha; then
I had to add the below or some git lfs files were not checked out properly
- name: git lfs pull
run: git lfs pull
Metadata
Metadata
Assignees
Labels
No labels