Commit 2cb0c30
authored
ci: replace pull_request_target with pull_request (#751)
`pull_request_target` carries higher risk for untrusted PRs because it
executes in the base repository context and can have broader token
privileges.
Switching to `pull_request` provides a safer default security posture
for external contributions.
The main tradeoff is that auto-labeling may not run for fork-based PRs,
which is acceptable in our case.
ASF infra keeps on flagging this, so lets make the change1 parent 73fa0ad commit 2cb0c30
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments