Commit 17c0f27
Add null guard for PrInfo in Checkout-GhAwPr.ps1
Prevents silent fork check bypass when gh returns empty/malformed
JSON — $null.isFork evaluates to $false in PowerShell, which would
let the fork check pass incorrectly.
Note: ready_for_review cannot be added to pull_request_target types
yet — gh-aw compiler doesn't include it in the allowed type list.
Filed as a known gap.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 00af259 commit 17c0f27
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| |||
0 commit comments