From 5cf412eed2abd32d4808d0fff215d8ca27715d38 Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Wed, 24 Jan 2024 19:28:05 +0900 Subject: [PATCH] ci: add cleanup-caches workflow --- .github/workflows/cleanup-caches.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/cleanup-caches.yml diff --git a/.github/workflows/cleanup-caches.yml b/.github/workflows/cleanup-caches.yml new file mode 100644 index 0000000..6f13c91 --- /dev/null +++ b/.github/workflows/cleanup-caches.yml @@ -0,0 +1,16 @@ +name: cleanup caches by a branch +on: + pull_request_target: + types: + - closed + delete: + workflow_dispatch: + +jobs: + cleanup: + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - name: Cleanup + uses: 4m-mazi/souji-action@cdef7f507c4bed326aec95989999988f8a10185b # v1.0.0