Commit 38ec761
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
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments