pelotech/File Size Checker

Checks the file size of new files to ensure we limit large file changes to the repository

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 29, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: pelotech/github-action-file-size-checker@d5331f82d72a5ca60a0678519a2fda01c933e049 # v0.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
max_file_size_kibMaximum allowed file size for new files in Kibibytes (KiB)yes20
base_shaBase commit SHA to compare against for new filesyes${{ github.event.pull_request.base.sha }}
head_shaHead commit SHA to compare against for new filesyes${{ github.event.pull_request.head.sha }}
exclude_patternsNewline-separated list of file patterns to exclude (e.g., '*.log' or 'dist/*')no""
namedescription
violations_listList of files that exceeded the maximum size limit