Commit 70602a2
committed
fix: require environment approval for fork PRs in pull_request_target workflows
Fork PRs using pull_request_target bypass GitHub's standard approval gate
while having access to repository secrets. This adds a conditional
`cloud-tests` environment that requires reviewer approval only for fork PRs,
while keeping internal PRs and push events unaffected.1 parent fe028de commit 70602a2
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments