fix(i18n): use official github_token input parameter

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 <noreply@anthropic.com>
This commit is contained in:
yyh 2026-01-07 17:14:15 +08:00
parent b7ef9791bf
commit 713233d23a
No known key found for this signature in database

View File

@ -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.