This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Commit be9a27c
authored
chore: fix preview release to use correct target (#1104)
## What kind of change does this PR introduce?
Change event trigger from `pull_request` to `pull_request_target`.
## What is the current behavior?
Event for triggering a PR release is `pull_request`. This results in PRs
from forks not being able to trigger the cross-repo testing.
## What is the new behavior?
Event trigger is now `pull_request_target`. Using `pull_request_target`
allows access to secrets when PRs come from forks. This is secure, since
only us, maintainers, can add the label to trigger the PR release.1 parent 3a147b5 commit be9a27c
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
157 | | - | |
| 160 | + | |
158 | 161 | | |
159 | | - | |
| 162 | + | |
160 | 163 | | |
161 | | - | |
| 164 | + | |
162 | 165 | | |
163 | | - | |
| 166 | + | |
164 | 167 | | |
0 commit comments