Răsfoiți Sursa

ci: fix publish auth failure

Aiden Cline 3 luni în urmă
părinte
comite
89285d8f5f
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      .github/workflows/publish.yml

+ 6 - 0
.github/workflows/publish.yml

@@ -63,6 +63,12 @@ jobs:
           node-version: "24"
           node-version: "24"
           registry-url: "https://registry.npmjs.org"
           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
       - name: Publish
         id: publish
         id: publish
         run: ./script/publish-start.ts
         run: ./script/publish-start.ts