Skip to content

Commit aa16610

Browse files
committed
ci: fix env
1 parent d98568f commit aa16610

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/sync-zed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async function main() {
108108
console.log(`📬 Creating pull request...`)
109109
const prResult =
110110
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}"`
111-
.env({ GH_TOKEN: token })
111+
.env({ ...process.env, GH_TOKEN: token })
112112
.nothrow()
113113

114114
if (prResult.exitCode !== 0) {

0 commit comments

Comments
 (0)