From 9d76ef6c6618ccd8896abc48cc05299790d56fc0 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Fri, 27 Feb 2026 09:18:17 -0600 Subject: [PATCH] chore: update docs locale sync workflow --- .github/workflows/docs-locale-sync.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs-locale-sync.yml b/.github/workflows/docs-locale-sync.yml index f62afae4b..2bc19d614 100644 --- a/.github/workflows/docs-locale-sync.yml +++ b/.github/workflows/docs-locale-sync.yml @@ -47,12 +47,14 @@ jobs: echo "EOF" } >> "$GITHUB_OUTPUT" + - name: Install OpenCode + if: steps.changes.outputs.has_changes == 'true' + run: curl -fsSL https://opencode.ai/install | bash + - name: Sync locale docs with OpenCode if: steps.changes.outputs.has_changes == 'true' - uses: sst/opencode/github@latest env: OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} - GITHUB_TOKEN: ${{ steps.committer.outputs.token }} OPENCODE_CONFIG_CONTENT: | { "permission": { @@ -96,11 +98,8 @@ jobs: } } } - with: - model: opencode/gpt-5.3-codex - agent: docs - use_github_token: true - prompt: | + run: | + opencode run --agent docs --model opencode/gpt-5.3-codex <<'EOF' Update localized docs to match the latest English docs changes. Changed English doc files: @@ -118,6 +117,7 @@ jobs: 7. Keep locale docs structure aligned with their corresponding English pages. 8. Do not modify English source docs in packages/web/src/content/docs/*.mdx. 9. If no locale updates are needed, make no changes. + EOF - name: Commit and push locale docs updates if: steps.changes.outputs.has_changes == 'true'