summaryrefslogtreecommitdiffhomepage
path: root/script
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-12-29 17:52:22 -0600
committerAiden Cline <[email protected]>2025-12-29 17:52:36 -0600
commitaa1661002119dab430bd2f694a65abed5062c94f (patch)
treec9dc8c263ccc3171ab8d1ab7758c245af49440d7 /script
parentd98568fe7efcfd3a8667c047b19882f30dcbcb43 (diff)
downloadopencode-aa1661002119dab430bd2f694a65abed5062c94f.tar.gz
opencode-aa1661002119dab430bd2f694a65abed5062c94f.zip
ci: fix env
Diffstat (limited to 'script')
-rwxr-xr-xscript/sync-zed.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/sync-zed.ts b/script/sync-zed.ts
index 451c4da0a..3754fb5ba 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) {