From e5d105d96600391f22785f4ff6c47eeacadc5feb Mon Sep 17 00:00:00 2001 From: yyh Date: Wed, 7 Jan 2026 17:08:46 +0800 Subject: [PATCH] fix(i18n): add --allowedTools to enable git/gh commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow Claude to use git and gh commands for PR creation: - Bash(git:*) - git operations - Bash(gh:*) - GitHub CLI for PR creation - Bash(pnpm:*) - package manager commands - Read,Write,Edit,Glob,Grep - file operations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/translate-i18n-claude.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.yml index f4d415726c..a3b3d694d2 100644 --- a/.github/workflows/translate-i18n-claude.yml +++ b/.github/workflows/translate-i18n-claude.yml @@ -331,3 +331,4 @@ jobs: claude_args: | --max-turns 100 --model claude-sonnet-4-5-20250929 + --allowedTools "Read,Write,Edit,Bash(git:*),Bash(gh:*),Bash(cd:*),Bash(pnpm:*),Bash(cat:*),Bash(ls:*),Glob,Grep"