mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
ci: fix env
This commit is contained in:
@@ -108,7 +108,7 @@ async function main() {
|
||||
console.log(`📬 Creating pull request...`)
|
||||
const prResult =
|
||||
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 })
|
||||
.env({ ...process.env, GH_TOKEN: token })
|
||||
.nothrow()
|
||||
|
||||
if (prResult.exitCode !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user