Aiden Cline hai 8 meses
pai
achega
aa16610021
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      script/sync-zed.ts

+ 1 - 1
script/sync-zed.ts

@@ -108,7 +108,7 @@ async function main() {
   console.log(`📬 Creating pull request...`)
   console.log(`📬 Creating pull request...`)
   const prResult =
   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}"`
     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()
       .nothrow()
 
 
   if (prResult.exitCode !== 0) {
   if (prResult.exitCode !== 0) {