From 713233d23af372ac1fc85cc5942d801a6f5e3010 Mon Sep 17 00:00:00 2001 From: yyh Date: Wed, 7 Jan 2026 17:14:15 +0800 Subject: [PATCH] fix(i18n): use official github_token input parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace custom GH_TOKEN env with official github_token input: - github_token is the official parameter per action.yml - Action automatically sets GITHUB_TOKEN and GH_TOKEN internally - Remove unnecessary use_oauth parameter 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/translate-i18n-claude.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.yml index 65e763f095..bd91727fcd 100644 --- a/.github/workflows/translate-i18n-claude.yml +++ b/.github/workflows/translate-i18n-claude.yml @@ -101,11 +101,9 @@ jobs: - name: Run Claude Code for Translation Sync if: steps.detect_changes.outputs.CHANGED_FILES != '' uses: anthropics/claude-code-action@v1 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - use_oauth: false + github_token: ${{ secrets.GITHUB_TOKEN }} timeout_minutes: 55 prompt: | You are a professional i18n synchronization engineer for the Dify project.