Skip to content

v1.3.0

Latest

Choose a tag to compare

@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource released this 19 Mar 08:12
· 2 commits to master since this release
7b57f01

New Features
Added new composite action for self-service S3 cache cleanup: SonarSource/gh-action_cache/cleanup

It supports:

  • List mode — discover all cache entries for your repo without deleting anything
  • Delete by branch — remove all cache entries for a specific branch (e.g., feature/my-branch)
  • Delete by key — remove entries matching a cache key prefix across all branches or specific branch (e.g., sccache-Linux)
  • Dry-run — preview what would be deleted before committing
  • GitHub Actions job summary — collapsible table of matched/deleted objects in the workflow summary

Setup
Add a workflow_dispatch workflow to your repository and trigger it from the default branch.
See Cache Cleanup in the README for full setup instructions and usage examples.

NOTE: Due to security constrains you cannot run cache cleanup from non-default branch!