Migrate to Yuki-no
July 27, 2025 ยท View on GitHub
This guide shows how to use Yuki-no in projects that use GitHub Issues for translation, such as those using Ryu-Cho.
Migration Process
Eligible Projects
- Projects that use GitHub Issues for translation, like Ryu-Cho
- Track Head Repo changes through GitHub Issues
- Each issue body contains links to a specific commit in the Head Repo
- Head Repo must be a Public GitHub repository
- GitHub Issues must contain GitHub Commit URLs for original commits
- GitHub Commit URL format:
https://github.com/<org_name>/<repo_name>/commit/<commit_hash> - Examples:
New updates on head repo. https://github.com/test/test/commit/1234567Previous translation process: [See Commit](https://github.com/test/test/commit/1234567)
- GitHub Commit URL format:
Migration Steps
Warning
For a successful migration, set track-from to the last commit hash that was fully translated. Using an incorrect value when first running Yuki-no may create duplicate issues for already translated content. Note that Yuki-no starts tracking from the commit after your specified track-from hash, not including the track-from commit itself.
-
Add Labels to Translation Issues for Yuki-no Tracking
- Yuki-no identifies which issues it manages through labels
- Go to GitHub and create labels like
sync - Add these labels to your existing translation issues
- Note: Adding these labels to non-translation issues may cause problems
-
Create Yuki-no Action Configuration File
- Remove any existing sync action files (like Ryu-Cho)
- Create a new Yuki-no config file by following the Usage section
- If moving from Ryu-Cho, check the Yuki-no Options vs Ryu-Cho Options section below
- Run the Action
- Wait for the next scheduled run, or trigger it manually if you enabled
on.workflow_dispatch(see GitHub docs) - The first run may take some time as it processes all commits after the
track-fromhash - Check your translation issues after it finishes
- Wait for the next scheduled run, or trigger it manually if you enabled
Yuki-no Options vs Ryu-Cho Options
For detailed option descriptions, see README.
Options No Longer Required:
username: Not needed - uses GitHub Actions bot by defaultemail: Not needed - uses GitHub Actions bot by defaultupstream-repo: Automatically detected in GitHub Actions
Removed Options:
upstream-repo-branch: Upstream Repo always uses the default branchworkflow-name: Not used in Yuki-no
Options Kept the Same:
head-repo: URL of the original repositoryhead-repo-branch: Branch of the original repository (default:main)track-from: Starting commit hash for tracking
Changed Options:
path-starts-with: Use the newincludeoption with Glob patterns instead (e.g.,docs/becomesdocs/**)
New Options:
include,exclude: Filter files to track using Glob patternslabels: Labels to add to issues (default:sync)plugins: Load additional functionality. See PLUGINS.md for details.verbose: Show detailed logs (default:true)
Important Notes
If issues or comments aren't being created:
- Go to Settings > Actions > General > Workflow permissions
- Select "Read and write permissions"
- Save the changes