Skip to content

Commit 053a10e

Browse files
committed
ci: fix token for gh
1 parent e1c1b13 commit 053a10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/sync-zed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async function main() {
107107

108108
console.log(`📬 Creating pull request...`)
109109
const prUrl =
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}"`.text()
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()
111111

112112
console.log(`✅ Pull request created: ${prUrl}`)
113113
console.log(`🎉 Done!`)

0 commit comments

Comments
 (0)