GeezerVison is showing github.com — ci: use .env · gulunmu/opencode@0a1cdc7
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: script/sync-zed.ts +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -107,7 +107,9 @@ async function main() { |
107 | 107 |
|
108 | 108 | console.log(`📬 Creating pull request...`) |
109 | 109 | const prUrl = |
110 | | - 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() |
| 110 | + 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 }) |
| 112 | + .text() |
111 | 113 |
|
112 | 114 | console.log(`✅ Pull request created: ${prUrl}`) |
113 | 115 | console.log(`🎉 Done!`) |
|