docs: fix cleanup example to use pull_request_target trigger

Signed-off-by: Mogyuchi <mogyuchi@mogyuchi.jp>
pull/1312/head
Mogyuchi 2024-01-28 21:26:14 +09:00
parent a2ed59d39b
commit 2094592b9a
No known key found for this signature in database
GPG Key ID: 59FD1FE61E03F2B4
1 changed files with 1 additions and 1 deletions

View File

@ -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: