The open source coding agent.
TypeScript
ci: fix token for gh
Aiden Cline053a10e5155b
diff --git a/script/sync-zed.ts b/script/sync-zed.tsindex b4a417ad8b9..3ac9ee83a7e 100755--- a/script/sync-zed.ts+++ b/script/sync-zed.ts@@ -107,7 +107,7 @@ async function main() {console.log(`π¬ Creating pull request...`)const prUrl =- 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}"`.text()+ await $`GH_TOKEN=${token} 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}"`.text()console.log(`β Pull request created: ${prUrl}`)console.log(`π Done!`)