| ... | ... | @@ -337,7 +337,9 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions |
| 337 | 337 | const shouldOfferOpenPrCta = |
| 338 | 338 | (action === "commit_push" || action === "commit_push_pr") && |
| 339 | 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"); |
| 341 | 343 | const shouldOfferCreatePrCta = |
| 342 | 344 | action === "commit_push" && |
| 343 | 345 | !prUrl && |