Skip to content

fix(ci): scope Git LFS attributes away from Go module files - #90

Merged
zoeyrose merged 2 commits into
mainfrom
fix/issue-89-lfs-attributes
Aug 24, 2026
Merged

fix(ci): scope Git LFS attributes away from Go module files#90
zoeyrose merged 2 commits into
mainfrom
fix/issue-89-lfs-attributes

Conversation

@zoeyrose

Copy link
Copy Markdown
Member

Summary

Fix the server's broad Git LFS attributes so Go module manifests remain normal
text files in clean LFS-enabled checkouts.

Implementation / behavior

  • Scope the server attributes away from the .mod extension used by go.mod.
  • Add a CI regression check that initializes Git LFS, verifies go.mod is not
    filtered and the checkout stays clean, then exercises the release dry-run.
  • Include the offending tracked or untracked paths in release guard failures.

Validation

  • tools/check-gitattributes.sh
  • tools/validate.sh

Closes #89

@zoeyrose
zoeyrose marked this pull request as ready for review August 24, 2026 02:55
@zoeyrose
zoeyrose merged commit 6817b71 into main Aug 24, 2026
8 checks passed
@zoeyrose
zoeyrose deleted the fix/issue-89-lfs-attributes branch August 24, 2026 02:57
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): scope Git LFS attributes away from Go module files

1 participant