Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Omit empty push target and track branch in action deps

Julius Marminge0c26396f79b9
diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx
index 001559c7c..ec945a595 100644
--- a/apps/web/src/components/GitActionsControl.tsx
+++ b/apps/web/src/components/GitActionsControl.tsx
@@ -232,7 +232,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
hasCustomCommitMessage: !!commitMessage?.trim(),
hasWorkingTreeChanges: !!gitStatus?.hasWorkingTreeChanges,
forcePushOnly: forcePushOnlyProgress,
- pushTarget,
+ ...(pushTarget ? { pushTarget } : {}),
});
const progressToastId = toastManager.add({
type: "loading",
@@ -325,6 +325,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
},
[
api,
+ gitStatus?.branch,
gitStatus?.hasWorkingTreeChanges,
gitStatus?.openPr?.url,
isDefaultBranch,