From aa1661002119dab430bd2f694a65abed5062c94f Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Mon, 29 Dec 2025 17:52:22 -0600 Subject: [PATCH] ci: fix env --- script/sync-zed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/sync-zed.ts b/script/sync-zed.ts index 451c4da0a0..3754fb5bae 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) {