summaryrefslogtreecommitdiff
path: root/Omni/Agent/setup-worker.sh
diff options
context:
space:
mode:
authorOmni Worker <bot@omni.agent>2025-11-21 04:34:09 -0500
committerOmni Worker <bot@omni.agent>2025-11-21 04:34:09 -0500
commite111ed412e4d782c4f3fa7074c679bd60c1dc281 (patch)
treea58c3febd88a7c987421920f9d9058d75c2acef1 /Omni/Agent/setup-worker.sh
parent6349c3ab5c10be45f4b8f2621298c333e0480dae (diff)
parentf99aee1aa31f621a804e0c98ed4f84260da1b3eb (diff)
Merge branch 'live' into task/t-1ne7Qtj
Diffstat (limited to 'Omni/Agent/setup-worker.sh')
-rwxr-xr-xOmni/Agent/setup-worker.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Omni/Agent/setup-worker.sh b/Omni/Agent/setup-worker.sh
index 28c29b1..42b7fc9 100755
--- a/Omni/Agent/setup-worker.sh
+++ b/Omni/Agent/setup-worker.sh
@@ -22,3 +22,10 @@ if [ -f "$REPO_ROOT/.envrc.local" ]; then
echo "Copying .envrc.local..."
cp "$REPO_ROOT/.envrc.local" "$WORKTREE_PATH/"
fi
+
+# Configure git identity for the worker
+echo "Configuring git identity for worker..."
+git -C "$WORKTREE_PATH" config user.name "Omni Worker"
+git -C "$WORKTREE_PATH" config user.email "bot@omni.agent"
+
+echo "Worker setup complete at $WORKTREE_PATH"