From f99aee1aa31f621a804e0c98ed4f84260da1b3eb Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 21 Nov 2025 04:30:47 -0500 Subject: infra: improve worker workflow (attribution, cleaner history) --- Omni/Agent/setup-worker.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Omni/Agent/setup-worker.sh') 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" -- cgit v1.2.3