Skip to content

Commit 38ec761

Browse files
authored
ci: Run external-collaborator workflow on pull_request_target (#12877)
See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target You can see e.g. here: https://github.com/getsentry/sentry-javascript/actions/runs/9888865345/job/27313696886 that this lacks permissions when run as `pull_request`. Now, this should ran in the context of the base branch, which grants proper rights etc. and also prevents leaking etc.
1 parent ab4ac07 commit 38ec761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/external-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "CI: Mention external contributors"
22
on:
3-
pull_request:
3+
pull_request_target:
44
types:
55
- closed
66
branches:

0 commit comments

Comments
 (0)