https://github.com/twangodev/camo-buster
GitHub Action to purge stale camo image caches
https://github.com/twangodev/camo-buster
cache camo cicd github-actions image readme typescript
Last synced: 7 days ago
JSON representation
GitHub Action to purge stale camo image caches
- Host: GitHub
- URL: https://github.com/twangodev/camo-buster
- Owner: twangodev
- License: mit
- Created: 2026-04-18T20:23:31.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-18T23:26:13.000Z (about 2 months ago)
- Last Synced: 2026-04-18T23:30:51.498Z (about 2 months ago)
- Topics: cache, camo, cicd, github-actions, image, readme, typescript
- Language: TypeScript
- Homepage:
- Size: 854 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# camo-buster
[](https://github.com/twangodev/camo-buster/actions/workflows/main.yml)
[](https://github.com/marketplace/actions/camo-buster)
[](https://github.com/twangodev/camo-buster/releases)
[](./LICENSE)
A GitHub Action that purges GitHub's camo image cache so README image updates show up immediately instead of sticking around as the stale cached copy.
## Usage
```yaml
- uses: actions/checkout@v4
- uses: twangodev/camo-buster@v1.0.0
```
By default it scans `README.md`. To scan other files or purge specific URLs:
```yaml
- uses: twangodev/camo-buster@v1.0.0
with:
files: |
README.md
docs/**/*.md
urls: |
https://example.com/badge.svg
```
## Inputs
| Name | Default | Description |
| --------------- | ------------------- | ------------------------------------------------- |
| `files` | `README.md` | Newline- or comma-separated markdown globs. |
| `urls` | | Explicit image URLs to purge. |
| `repository` | `github.repository` | `owner/repo` used as the markdown-render context. |
| `github-token` | `github.token` | Token for the markdown-render API. |
| `fail-on-error` | `false` | Fail the step if any PURGE returns non-2xx. |
| `concurrency` | `4` | Maximum concurrent PURGE requests. |