From 2094592b9a8ada9a385f955f96031351f69729cb Mon Sep 17 00:00:00 2001
From: Mogyuchi <mogyuchi@mogyuchi.jp>
Date: Sun, 28 Jan 2024 21:26:14 +0900
Subject: [PATCH] docs: fix cleanup example to use pull_request_target trigger

Signed-off-by: Mogyuchi <mogyuchi@mogyuchi.jp>
---
 tips-and-workarounds.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tips-and-workarounds.md b/tips-and-workarounds.md
index 125fa5f..5977e03 100644
--- a/tips-and-workarounds.md
+++ b/tips-and-workarounds.md
@@ -46,7 +46,7 @@ This workflow uses `gh-actions-cache` to delete all the caches created by a bran
 ```yaml
 name: cleanup caches by a branch
 on:
-  pull_request:
+  pull_request_target:
     types:
       - closed
   workflow_dispatch: