pelotech/File Size Checker
Checks the file size of new files to ensure we limit large file changes to the repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 29, 2026
- License
- None
Pinned Snippet
uses: pelotech/github-action-file-size-checker@d5331f82d72a5ca60a0678519a2fda01c933e049 # v0.2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| max_file_size_kib | Maximum allowed file size for new files in Kibibytes (KiB) | yes | 20 |
| base_sha | Base commit SHA to compare against for new files | yes | ${{ github.event.pull_request.base.sha }} |
| head_sha | Head commit SHA to compare against for new files | yes | ${{ github.event.pull_request.head.sha }} |
| exclude_patterns | Newline-separated list of file patterns to exclude (e.g., '*.log' or 'dist/*') | no | "" |
Outputs
| name | description |
|---|---|
| violations_list | List of files that exceeded the maximum size limit |