Skip to content

The open source coding agent.

TypeScript

ci: fix publish auth failure

Aiden Cline89285d8f5fd6
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 163b8a01a5b..77d7bb30e0b 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -63,6 +63,12 @@ jobs:
node-version: "24"
registry-url: "https://registry.npmjs.org"
+ - name: Setup Git Identity
+ run: |
+ git config --global user.email "[email protected]"
+ git config --global user.name "opencode"
+ git remote set-url origin https://x-access-token:${{ secrets.SST_GITHUB_TOKEN }}@github.com/${{ github.repository }}
+
- name: Publish
id: publish
run: ./script/publish-start.ts