docs: fix cleanup example to use pull_request_target trigger

Signed-off-by: Mogyuchi <mogyuchi@mogyuchi.jp>
This commit is contained in:
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

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: