From c4db71deac2901486666f6562b98bea1b990aef9 Mon Sep 17 00:00:00 2001 From: Suhaha Date: Mon, 13 Apr 2026 20:04:40 +0800 Subject: [PATCH 1/3] Update environment variables for translation workflow --- .github/workflows/translation-zh.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/translation-zh.yaml b/.github/workflows/translation-zh.yaml index db35066c96f62..d719c6a19de27 100644 --- a/.github/workflows/translation-zh.yaml +++ b/.github/workflows/translation-zh.yaml @@ -55,9 +55,9 @@ jobs: cd docs-toolkit/markdown-translator yarn cd ../.. - export LANGLINK_ACCESS_KEY=${{ secrets.LANGLINK_ACCESS_KEY }} - export LANGLINK_ACCESS_SECRET=${{ secrets.LANGLINK_ACCESS_SECRET }} - export LANGLINK_USER=${{ secrets.LANGLINK_USER }} + export OPENAI_RESPONSES_API_URL=${{ secrets.OPENAI_RESPONSES_API_URL }} + export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} + export OPENAI_MODEL=gpt-5.4 node docs-toolkit/markdown-translator/src/index.js --input-dir docs/tmp --output-dir docs/ - name: Set build ID From 85349617a588a14e30d39012fd061e12f0646e18 Mon Sep 17 00:00:00 2001 From: Suhaha Date: Mon, 13 Apr 2026 20:14:26 +0800 Subject: [PATCH 2/3] Update OpenAI API key for translation workflow --- .github/workflows/translation-zh.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translation-zh.yaml b/.github/workflows/translation-zh.yaml index d719c6a19de27..080f375de5a4c 100644 --- a/.github/workflows/translation-zh.yaml +++ b/.github/workflows/translation-zh.yaml @@ -56,7 +56,7 @@ jobs: yarn cd ../.. export OPENAI_RESPONSES_API_URL=${{ secrets.OPENAI_RESPONSES_API_URL }} - export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} + export OPENAI_API_KEY=${{ secrets.OPENAI_TRANSLATE_API_KEY }} export OPENAI_MODEL=gpt-5.4 node docs-toolkit/markdown-translator/src/index.js --input-dir docs/tmp --output-dir docs/ From ba70addc9b9c3d9030eafd0645f45936d3eb3895 Mon Sep 17 00:00:00 2001 From: Suhaha Date: Tue, 14 Apr 2026 14:33:50 +0800 Subject: [PATCH 3/3] Update .github/workflows/translation-zh.yaml Co-authored-by: Grace Cai --- .github/workflows/translation-zh.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translation-zh.yaml b/.github/workflows/translation-zh.yaml index 080f375de5a4c..51721dac5fdcd 100644 --- a/.github/workflows/translation-zh.yaml +++ b/.github/workflows/translation-zh.yaml @@ -55,8 +55,8 @@ jobs: cd docs-toolkit/markdown-translator yarn cd ../.. - export OPENAI_RESPONSES_API_URL=${{ secrets.OPENAI_RESPONSES_API_URL }} - export OPENAI_API_KEY=${{ secrets.OPENAI_TRANSLATE_API_KEY }} + export OPENAI_RESPONSES_API_URL=${{ secrets.AZURE_OPENAI_BASE_URL }} + export OPENAI_API_KEY=${{ secrets.AZURE_OPENAI_KEY }} export OPENAI_MODEL=gpt-5.4 node docs-toolkit/markdown-translator/src/index.js --input-dir docs/tmp --output-dir docs/