innate-inc/Git File Size Limit

Fails a pull request when a changed file exceeds a size limit. Exemptions use real gitignore syntax.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
max_sizeMaximum allowed size for a changed file. Accepts a byte count or a suffixed value (e.g. '100KB', '2MB', '1GB').no100KB
ignore_filePath to a gitignore-syntax file listing exemptions (patterns, anchoring with a leading '/', directories with a trailing '/', negation with '!'). Files it matches are never flagged, however large.no.sizelimitignore
base_shaBase commit SHA to diff against. Defaults to the pull request's base SHA.no${{ github.event.pull_request.base.sha }}
head_shaHead commit SHA to diff against. Defaults to the pull request's head SHA.no${{ github.event.pull_request.head.sha }}
fail_on_violationWhether to fail the action when a file exceeds the limit. Set to 'false' to only report.notrue
namedescription
status'pass' or 'fail'.
violations_countNumber of files that exceeded the limit.
violationsMarkdown-formatted bullet list of files that exceeded the limit; empty when none did.