twangodev/camo-buster
Bust GitHub camo image caches so README and markdown image updates show instantly.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Newline- or comma-separated globs of markdown files to scan for images. Leave empty to skip file scanning. | no | README.md |
| urls | Newline- or comma-separated list of original (pre-camo) image URLs to purge. These are rendered through the GitHub markdown API to discover their camo URLs. | no | "" |
| repository | owner/repo used as the rendering context for the GitHub markdown API. | no | ${{ github.repository }} |
| github-token | GitHub token used to call the markdown render API. The default workflow token is sufficient. | no | ${{ github.token }} |
| fail-on-error | Fail the step if any PURGE request returns a non-2xx response. | no | false |
| concurrency | Maximum number of concurrent PURGE requests. | no | 4 |
Outputs
| name | description |
|---|---|
| purged-count | Number of camo URLs successfully purged. |
| purged-urls | JSON array of camo URLs that were purged. |