Commit 9c140dd45c for strongswan.org

commit 9c140dd45c41ff2ecc1d4b952b8bd4902ffbbb9d
Author: Tobias Brunner <tobias@strongswan.org>
Date:   Fri May 8 14:45:25 2026 +0200

    github: Add workflow to remove cache entries once a branch is deleted

diff --git a/.github/workflows/cache-cleanup.yml b/.github/workflows/cache-cleanup.yml
new file mode 100644
index 0000000000..4e856bf404
--- /dev/null
+++ b/.github/workflows/cache-cleanup.yml
@@ -0,0 +1,16 @@
+name: Cache cleanup
+
+on: delete
+
+permissions:
+  actions: write
+
+jobs:
+  cleanup:
+    runs-on: ubuntu-slim
+    steps:
+      - env:
+          GH_TOKEN: ${{ github.token }}
+        # github.ref for deletes is the default branch, so we get the ref from
+        # the event
+        run: gh cache delete --repo ${{ github.repository }} -r ${{ github.event.ref }} --all --succeed-on-no-caches