anthropics / anthropics/claude-code-action
Action does not commit files to Git LFS
Open
bug
p2
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.1k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
It seems that the mcp__github_file_ops__commit_files action somehow skips the `.gitattributes` settings for LFS files. When I checkout the branch created by the action locally, I get errors of this form:
```
Encountered 3 files that should have been pointers, but weren't:
xxx/yyy/zzz.csv
xxx/yyy/zzz.csv
xxx/yyy/zzz.csv
```
Git LFS is installed in the container because the action is able to successfully pull down LFS files.
Any recommendations for how to have the action put LFS files into LFS?
Contributor guide
Assessment
This issue has not been assessed yet.