jacobras/Size Diff
Calculates the difference in a file's size, compared to a golden standard (like your main branch).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | The path of the file to monitor the size of. | yes | — |
| main-branch-name | The name of your main branch. | no | main |
| repo-token | Pass in secrets.GITHUB_TOKEN to print all large files added/modified in a PR. | no | — |
| large-file-threshold-kb | Threshold (in kilobytes) on what to consider (and list) a "large file". | no | 100 |
| hide-footer | Hides the "generated by .." footer at the end of the summary. | no | false |
Outputs
| name | description |
|---|---|
| summary | A readable summary of the file size difference |
| diff | The size diff to the file passed into `path`, in kilobytes. |