act
act copied to clipboard
Issue: actions/checkout@v2 with lfs: true doesn't get file
I will fill this out more later but wanted to get a placeholder in, apologies.
I have
- name: Checkout code
uses: actions/checkout@v2
with:
lfs: true
When pushing to GitHub and running on Actions it gets file:
-rw-r--r-- 1 runner docker 185M Mar 14 21:27 dependencies.tar
But when running with act
it doesn't get the file (and so tar
fails):
| -rw-rw-rw- 1 1000 root 134 Aug 24 2021 dependencies.tar
Known issue?
I tried ⤵️
- name: Check out LFS objects
run: GIT_TRACE=1 git lfs fetch -I dependencies.tar
And it hangs here ⤵️
| 21:44:40.945015 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
21:44:40.947667 trace git-lfs: tq: running as batched queue, batch size of 100
| 21:44:40.947694 trace git-lfs: fetch dependencies.tar [SHA]
| 21:44:40.947746 trace git-lfs: tq: sending batch of size 1
| 21:44:40.948100 trace git-lfs: api: batch 1 files
| 21:44:40.948228 trace git-lfs: creds: git credential fill ("https", "github.com", "")
| 21:44:40.949540 git.c:439 trace: built-in: git credential fill
So I'm guessing credentials aren't available to LFS, as discussed on https://github.com/git-lfs/git-lfs/issues/4060. If so them will make repro awkward, as it might need a private repo?
Is that workflow from a private repo?
@catthehacker yep
Issue is stale and will be closed in 14 days unless there is new activity