Repository navigation
v0.2.0
PR Creation Feature
π Major New Feature: Automatic PR Creation!
The action now creates pull requests in the target repository with your translations!
β¨ What's New
PR Creation Workflow:
- β Creates a new branch in the target repository
- β Commits all translated files to the branch
- β Opens a pull request with detailed description
- β Automatically adds configured labels
- β Requests reviewers as specified
- β
Sets
pr-urloutput for workflow integration
PR Details Include:
- Source repository and PR number
- List of translated files
- Source/target languages
- AI model used
- Automatic timestamp-based branch naming
π Example PR Description
The action creates PRs with comprehensive information:
- Links to source repository and PR
- Complete file change list
- Translation metadata (languages, model)
- Professional formatting
π§ Configuration
Use the existing inputs to customize PR behavior:
with:
pr-labels: 'translation-sync,automated,zh-cn'
pr-reviewers: 'reviewer1,reviewer2'π Complete Workflow
- PR merged in source repo β Action triggers
- Files translated using Claude
- Branch created in target repo
- Translations committed
- PR created with labels/reviewers
- Review and merge!
π¦ Upgrading
Update your workflow to use v0.2.0:
uses: quantecon/action-translation-sync@v0.2.0Full Changelog: v0.1.3...v0.2.0