diff options
| author | Dax Raad <[email protected]> | 2026-01-30 00:07:56 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-01-30 00:07:56 -0500 |
| commit | b109ab78303829943c7c229e9126983601d8bd6d (patch) | |
| tree | 63dee75d0676bda21833490704a947952ded2836 | |
| parent | b28891473f16362b9d97d3825e6c969c4988d970 (diff) | |
| download | opencode-b109ab78303829943c7c229e9126983601d8bd6d.tar.gz opencode-b109ab78303829943c7c229e9126983601d8bd6d.zip | |
ci
| -rw-r--r-- | .github/actions/setup-git-committer/action.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/generate.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/publish.yml | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/.github/actions/setup-git-committer/action.yml b/.github/actions/setup-git-committer/action.yml index 4367996bd..e039119fd 100644 --- a/.github/actions/setup-git-committer/action.yml +++ b/.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 diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 15c99f402..cae20a244 100644 --- a/.github/workflows/generate.yml +++ b/.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 }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 73755153a..dd0487c40 100644 --- a/.github/workflows/publish.yml +++ b/.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 |
