diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 21c0da40996d7cccdf60dea95ff14118cc1c26ca..3662d1b79ca4a0f7389e21900be82c56fff23ee0 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -337,7 +337,9 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions const shouldOfferOpenPrCta = (action === "commit_push" || action === "commit_push_pr") && !!prUrl && - (result.pr.status === "created" || result.pr.status === "opened_existing"); + (!actionIsDefaultBranch || + result.pr.status === "created" || + result.pr.status === "opened_existing"); const shouldOfferCreatePrCta = action === "commit_push" && !prUrl &&