Roo-Code/.roo/roomotes.yml
roomote[bot] 6331944ed1
feat: add translation check action to pull_request.opened event (#6393)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-07-29 21:35:05 -07:00

29 lines
1.3 KiB
YAML

version: "1.0"
commands:
- name: Pull latest changes
run: git pull
timeout: 60
execution_phase: task_run
- name: Install dependencies
run: pnpm install
timeout: 60
execution_phase: task_run
github_events:
- event: issues.opened
action:
name: github.issue.fix
- event: issue_comment.created
action:
name: github.issue.comment.respond
- event: pull_request.opened
action:
name: github.pr.review
- event: pull_request.opened
action:
name: general.task
prompt: "Check this pull request for any missing translations in the codebase. First, run the check-translations script using `node scripts/find-missing-translations.js` and carefully review its output for any missing translations. Then look for hardcoded strings that should be internationalized, but focus only on hardcoded strings that were added in this PR rather than existing strings. Verify that all UI text uses i18n functions, and ensure translation files are updated for all supported languages. If the script reports missing translations or you find other translation issues, use the translator mode to add them."
- event: pull_request_review_comment.created
action:
name: github.pr.comment.respond