Skip to content

v0.2.0

Choose a tag to compare

@mmcky mmcky released this 16 Oct 22:28
· 413 commits to main since this release

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-url output 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

  1. PR merged in source repo β†’ Action triggers
  2. Files translated using Claude
  3. Branch created in target repo
  4. Translations committed
  5. PR created with labels/reviewers
  6. Review and merge!

πŸ“¦ Upgrading

Update your workflow to use v0.2.0:

uses: quantecon/action-translation-sync@v0.2.0

Full Changelog: v0.1.3...v0.2.0