tanstack-dev/Translate Documentation Action
Translates documentation files automatically using machine translation
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| custom_arguments | Custom arguments to pass to the translation package command | no | "" |
| github_token | GitHub token for creating PRs | no | ${{ github.token }} |
| api_key | API key for translation service (e.g., OPENAI_API_KEY) | yes | — |
| translation_package | NPM package to use for translation | no | @tanstack-dev/translate-docs |
| base_branch | Base branch to create PR against | no | main |
| pr_branch | Branch name for the PR | no | docs/update-translations |
| pr_title | Title for the PR | no | Update translations |
| pr_body | Body text for the PR | no | This PR updates the documentation translations automatically. Generated by the translate workflow. |
| commit_message | Commit message for the translation changes | no | docs: update documentation translations |
| schedule_cron | Cron schedule for automatic translation (used in workflow template) | no | 0 20 * * * |
| add_paths | A comma or newline-separated list of file paths to commit. Paths should follow git's pathspec syntax. | no | docs/** |
| enable_formatting | Whether to run code formatting before creating the PR | no | true |
| format_command | The command to run for formatting code | no | pnpm prettier:write |
Outputs
no outputs