anthropics / anthropics/claude-code-action

Action does not commit files to Git LFS

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.