Dax Raad 3 tygodni temu
rodzic
commit
b109ab7830

+ 5 - 0
.github/actions/setup-git-committer/action.yml

@@ -30,3 +30,8 @@ runs:
         git config --global user.name "${slug}[bot]"
         git config --global user.email "${slug}[bot]@users.noreply.github.com"
       shell: bash
+
+    - name: Configure git remote
+      run: |
+        git remote set-url origin https://x-access-token:${{ steps.apptoken.outputs.token }}@github.com/${{ github.repository }}
+      shell: bash

+ 1 - 0
.github/workflows/generate.yml

@@ -25,6 +25,7 @@ jobs:
         uses: ./.github/actions/setup-bun
 
       - name: Setup git committer
+        id: committer
         uses: ./.github/actions/setup-git-committer
         with:
           opencode-app-id: ${{ vars.OPENCODE_APP_ID }}

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

@@ -242,10 +242,6 @@ jobs:
           opencode-app-id: ${{ vars.OPENCODE_APP_ID }}
           opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}
 
-      - name: Setup Git remote
-        run: |
-          git remote set-url origin https://x-access-token:${{ steps.committer.outputs.token }}@github.com/${{ github.repository }}
-
       - uses: actions/download-artifact@v4
         with:
           name: opencode-cli