Describe the bug
If a PR has been opened from a fork, the GH CLI does not show the PR when invoking gh pr status.
This seems to be a similar issue as #5914
Affected version
gh version 2.83.1 (2025-11-13)
https://github.com/cli/cli/releases/tag/v2.83.1
Steps to reproduce the behavior
- Create a repo and have someone open a PR from a fork.
- Invoke
gh pr checkout $ID locally in your cloned repo
- Invoke
gh pr status
Expected vs actual behavior
Actual:
Relevant pull requests in niri81/gh-cli-test
Current branch
There is no pull request associated with [tametsi:tametsi/main]
Created by you
You have no open pull requests
Requesting a code review from you
You have no pull requests to review
I expected to receive information abut the currently checked out PR (i.e. niri81/gh-cli-test#1).
Logs
logs.txt
Describe the bug
If a PR has been opened from a fork, the GH CLI does not show the PR when invoking
gh pr status.This seems to be a similar issue as #5914
Affected version
Steps to reproduce the behavior
gh pr checkout $IDlocally in your cloned repogh pr statusExpected vs actual behavior
Actual:
Relevant pull requests in niri81/gh-cli-test Current branch There is no pull request associated with [tametsi:tametsi/main] Created by you You have no open pull requests Requesting a code review from you You have no pull requests to reviewI expected to receive information abut the currently checked out PR (i.e. niri81/gh-cli-test#1).
Logs
logs.txt