7ph/limit-size
GitHub Action to track and limit the size of files in pull requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jan 30, 2026
- License
- None
Pinned Snippet
uses: 7ph/limit-size@301725782a5b1883b2a277e3b446e58dd3fcf84c # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub Access Token | yes | — |
| files | Glob patterns with optional size limits (e.g. 'dist/*.js: 500kb') | yes | — |
| fail_on_exceeded | Whether to fail the action when size limits are exceeded | no | true |
Outputs
| name | description |
|---|---|
| status | 'pass' or 'fail' depending on whether any files exceeded their limit |
| total_size | Total size of all tracked files in bytes |
| exceeded_count | Number of files that exceeded their size limit |