haozeke/Large File Auditor
Checks for files exceeding a size threshold using git-filter-repo analysis and flags the commit.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file-size-threshold | Maximum allowed file size (e.g., 1M, 500K, 2G). Files larger than this will cause a failure. | yes | 1M |
| git-filter-repo-version | Version of git-filter-repo to install. | no | 2.47.0 |
| github-token | GitHub token to post comments on PRs if large files are found. Not required if only failing the action. | no | — |
Outputs
| name | description |
|---|---|
| large-files-found | A boolean indicating if large files were found (true/false). |
| large-files-list | A JSON string array of detected large files with details (path, size, blob SHA). |