The open source coding agent.
TypeScript
ci: fix env
Aiden Clineaa1661002119
diff --git a/script/sync-zed.ts b/script/sync-zed.tsindex 451c4da0a09..3754fb5bae8 100755--- a/script/sync-zed.ts+++ b/script/sync-zed.ts@@ -108,7 +108,7 @@ async function main() {console.log(`📬 Creating pull request...`)const prResult =await $`gh pr create --repo ${UPSTREAM_REPO} --base main --head ${FORK_REPO.split("/")[0]}:${branchName} --title "Update ${EXTENSION_NAME} to v${cleanVersion}" --body "Updating OpenCode extension to v${cleanVersion}"`- .env({ GH_TOKEN: token })+ .env({ ...process.env, GH_TOKEN: token }).nothrow()if (prResult.exitCode !== 0) {