fix(github): drop redundant is:pr from gh pr list search (#34633)

gh pr list already scopes --search with repo:OWNER/REPO type:pr. The
extra is:pr Orca added made private-repo PR lists come back empty when
gh is authenticated with a GitHub App user token (ghu_).

Fixes #34536
This commit is contained in:
BingZ
2026-10-27 23:09:11 -07:00
committed by GitHub
parent eac5699bcd
commit 92f3fef421
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ function issueSearchArgs(
]
}
function prListArgs(ownerRepo: string, query = 'is:pr is:open'): string[] {
function prListArgs(ownerRepo: string, query = 'is:open'): string[] {
return [
'pr',
'list',