opengrabeso/Clean Cache
Cleans up caches for GitHub Actions based on branch or PR ref
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Authenticated GitHub token. | yes | ${{ github.token }} |
| ref | The full Git reference for which the cache should be cleaned. Use refs/pull/<number>/merge for PRs. When not present, context is detected automatically and PR, branch or both caches are cleaned. | — | — |
| includePrefix | Caches with keys matching this as prefix will be deleted, oldest created first. | — | — |
| except | Key which should not be deleted | — | — |
| post | Run the cleanup post workflow | — | false |
| verbose | Log all existing caches with timestamps | — | false |
| keep | Number of most recent items to keep | — | 0 |
Outputs
no outputs