kitconcept/Image Checker
Analyzes images files in a repository and validates their size and dimensions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file-extensions | Comma-separated list of image file extensions. | no | png,jpg,jpeg,gif,webp,avif,tiff,svg |
| paths | Comma-separated list of paths to scan for images. | yes | — |
| min-size | Minimum allowed file size in bytes. Files smaller than this value will be flagged. | no | — |
| max-size | Maximum allowed file size in bytes. Files larger than this value will be flagged. | no | — |
| min-width | Minimum allowed image width in pixels. Images narrower than this value will be flagged. | no | — |
| max-width | Maximum allowed image width in pixels. Images wider than this value will be flagged. | no | — |
| min-height | Minimum allowed image height in pixels. Images shorter than this value will be flagged. | no | — |
| max-height | Maximum allowed image height in pixels. Images taller than this value will be flagged. | no | — |
| fail-on-error | If true (default), the action fails when any constraint is violated. Set to false to report violations as warnings without failing the workflow. | no | true |
| summary-title | Title to use for the GitHub Step Summary section. Defaults to "Image Checker". | no | "" |
Outputs
| name | description |
|---|---|
| failed-files | Comma-separated list of files that failed one or more checks. |
| failed-count | Number of files that failed one or more checks. |