Skip to content

Commit 9c983f8

Browse files
authored
Fix cleanup-caches workflow for PRs from forks (#507)
* ci: change cleanup-caches trigger type - .github/workflows/cleanup-caches.yml: change trigger type to pull_request_target which should provide a read-write token. Signed-off-by: Aiden Woodruff <aiden@aidenw.net>
1 parent 67d914f commit 9c983f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cleanup-caches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Cleanup caches on closed PRs
22
# From https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [ closed ]
66
jobs:
77
cleanup:

0 commit comments

Comments
 (0)