You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(submit): check for existing PR before prompting for details
When a branch already has a PR on GitHub but the association isn't
stored in local git config, `gh stack submit` would prompt the user
for PR title and description, only to discover (via API error) that
the PR already exists.
Now we call `FindPRByHead` before prompting. If a PR exists, we
adopt it immediately without unnecessary prompting.
Refactored `adoptExistingPR` to extract `adoptExistingPRDirect`,
avoiding a redundant API call when we've already fetched the PR.
0 commit comments