The best way to control Claude Code, Codex and more from any computer or phone
Restore Open PR CTA for commit_push with existing PR
Co-authored-by: codex <codex@users.noreply.github.com>
Julius Marminge committed
Mar 2, 2026 at 20:23 UTC
99ea16a9696e95065c8b556f78468a07712d97d3
1 file changed
+3
-1
apps/web/src/components/GitActionsControl.tsx
+3
-1
@@ -337,7 +337,9 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
337
const shouldOfferOpenPrCta =
338
(action === "commit_push" || action === "commit_push_pr") &&
339
!!prUrl &&
340
- (result.pr.status === "created" || result.pr.status === "opened_existing");
340
+ (!actionIsDefaultBranch ||
341
+ result.pr.status === "created" ||
342
+ result.pr.status === "opened_existing");
343
const shouldOfferCreatePrCta =
344
action === "commit_push" &&
345
!prUrl &&