diff options
| author | Aiden Cline <[email protected]> | 2025-12-26 12:22:56 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-26 12:22:56 -0600 |
| commit | 053a10e5155bb6a18765aceddc70599a6359e6c1 (patch) | |
| tree | 976bf90199cd83ef8ba3f1bf3cc326062a3f6356 /script/sync-zed.ts | |
| parent | e1c1b1340b4c0c455f7701311118cf32924e9abd (diff) | |
| download | opencode-053a10e5155bb6a18765aceddc70599a6359e6c1.tar.gz opencode-053a10e5155bb6a18765aceddc70599a6359e6c1.zip | |
ci: fix token for gh
Diffstat (limited to 'script/sync-zed.ts')
| -rwxr-xr-x | script/sync-zed.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/sync-zed.ts b/script/sync-zed.ts index b4a417ad8..3ac9ee83a 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!`) |
