diff options
| author | Aiden Cline <[email protected]> | 2025-12-29 17:31:27 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-29 17:31:41 -0600 |
| commit | 0a1cdc7a5870a5cc036b944c4046fee98e42ef55 (patch) | |
| tree | 4dfe8dadd90d4caaf17381070123b7198b7b44af /script/sync-zed.ts | |
| parent | 2dec956a17e26aad323835133933bf230e6c8d69 (diff) | |
| download | opencode-0a1cdc7a5870a5cc036b944c4046fee98e42ef55.tar.gz opencode-0a1cdc7a5870a5cc036b944c4046fee98e42ef55.zip | |
ci: use .env
Diffstat (limited to 'script/sync-zed.ts')
| -rwxr-xr-x | script/sync-zed.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/sync-zed.ts b/script/sync-zed.ts index 3ac9ee83a..4bbf84546 100755 --- a/script/sync-zed.ts +++ b/script/sync-zed.ts @@ -107,7 +107,9 @@ async function main() { console.log(`📬 Creating pull request...`) const prUrl = - 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() + 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 }) + .text() console.log(`✅ Pull request created: ${prUrl}`) console.log(`🎉 Done!`) |
