From bc31cc9c645af91a17c8b69548af0cb6c05b0829 Mon Sep 17 00:00:00 2001 From: pranc1ngpegasus Date: Tue, 15 Oct 2024 12:36:56 +0900 Subject: [PATCH] chore: run cache deletion on pr closed --- .github/workflows/cache.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cache.yaml b/.github/workflows/cache.yaml index ef6f1ff..d862eb7 100644 --- a/.github/workflows/cache.yaml +++ b/.github/workflows/cache.yaml @@ -1,7 +1,8 @@ name: Cache on: - schedule: - - cron: "0 0 * * *" + pull_request: + types: + - closed workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }}-cache