#14394·cli

带有标志的 `gh pr list` 无法解析 JSON

作者: yrahul3910创建于 2026年9月8日更新于 2026年9月15日
标签bugpriority-3

[git remote -v] [git config --get-regexp ^remote..*.gh-resolved$]

POST /graphql HTTP/1.1 Host: api.GitHub.com Accept: application/vnd.GitHub.merge-info-preview+json, application/vnd.GitHub.nebula-preview Authorization: token ████████████████████ Content-Length: 417 Content-Type: application/json; charset=utf-8 Graphql-Features: merge_queue Time-Zone: America/New_York User-Agent: GitHub CLI 2.100.0 X-GitHub-Api-Version: 2022-11-28 GraphQL query: fragment repo on Repository { id databaseId name owner { login } viewerPermission defaultBranchRef { name } isPrivate } query RepositoryNetwork { viewer { login }

repo_000: repository(owner: "[REDACTED_ORG]", name: "[REDACTED_REPO]") { ...repo parent { ...repo } }

} GraphQL variables: null < HTTP/2.0 200 OK < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning < Content-Security-Policy: default-src 'none' < Content-Type: application/json; charset=utf-8 < Date: Tue, 08 Sep 2026 15:06:08 GMT < Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin < Server: GitHub.com < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < Vary: Accept-Encoding, Accept, X-Requested-With < X-Accepted-Oauth-Scopes: repo < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-GitHub-Edge-Region: iad < X-GitHub-Media-Type: GitHub.v4; param=merge-info-preview.nebula-preview; format=json < X-GitHub-Request-Id: 4C30:1BA66A:257DCEC:7B65D2C:6AA0245F < X-Oauth-Client-Id: 178c6fc778ccc68e1d6a < X-Oauth-Scopes: gist, read:org, repo, workflow < X-Ratelimit-Limit: 5000 < X-Ratelimit-Remaining: 4989 < X-Ratelimit-Reset: 1788883042 < X-Ratelimit-Resource: graphql < X-Ratelimit-Used: 11 < X-Xss-Protection: 0 { "data": { …