feat(ci): add GitHub workflow for translation review#17234
Conversation
Add dedicated workflow for reviewing translation imports via Claude. Triggers: - Manual: `@claude /review-translations` comment on any PR - Automatic: PRs with title starting "i18n:" (restricted to authorized users, i18n/* branches, same-repo only) Features: - Parallel Task agents (one per language) for faster reviews - Posts quality scores and findings as PR comment - Includes copy/paste command to request fixes if critical issues found - Read-only permissions (no auto-fixing) Also updates claude.yml to skip /review-translations commands, which are now handled by the dedicated workflow. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Code Review - Translation Review WorkflowOverviewThis PR adds a dedicated GitHub Actions workflow for automated translation reviews with proper security boundaries and flexible triggering options. ✅ Strong Security ImplementationAuthorization Controls (Lines 17-35)
Permission Model (Line 111) allowed_tools: "Task,Glob,Grep,LS,Read,Bash(git status:*),Bash(git diff:*),Bash(git log:*),Bash(git worktree:*),Bash(gh api:*),Bash(gh pr view:*)"Read-only operations only - no write/commit/push capabilities. Proper least-privilege approach ✅ ✅ Well-Structured DesignWorkflow Separation
Flexible Configuration
Parallel Processing
💡 Optional ConsiderationsCost Management (Line 66) Maintenance (Lines 21, 28, 35) VerdictWell-designed workflow with proper security controls and read-only permissions. Ready to merge! 🚀 Reviewed-By: Claude Sonnet 4.5 noreply@anthropic.com |
pettinarip
left a comment
There was a problem hiding this comment.
@wackerow LGTM, left minor comments
Co-authored-by: Pablo Pettinari <pettinarip@gmail.com>

Description
Add dedicated workflow for reviewing translation imports via Claude.
Triggers:
@claude /review-translationscomment on any PRFeatures:
Also updates
claude.ymlto skip/review-translationscommands, which are now handled by the dedicated workflow.Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com