-
Notifications
You must be signed in to change notification settings - Fork 262
Consolidate translation workflows and fix docs-dev checkout #813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ewels
merged 5 commits into
nextflow-io:master
from
ewels:consolidate-translate-workflows
Feb 3, 2026
Merged
Consolidate translation workflows and fix docs-dev checkout #813
ewels
merged 5 commits into
nextflow-io:master
from
ewels:consolidate-translate-workflows
Feb 3, 2026
+366
−352
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Merge translate.yml and translate-auto.yml into unified Translate workflow - Add 'auto' command (default) that detects outdated translations and prompt changes - Separate tracking for languages needing update vs fix-translations - Create single PR for all language changes instead of per-language PRs - Add missing update-and-add command to translate.py - Fix uv run to use script directly (not via python) for PEP 723 inline deps
Remove matrix build in favor of sequential builds in one job. Also fixes checkout conflict with artifacts directory.
This reverts commit 816bbac.
Move artifacts and combined directories to /tmp before checking out gh-pages branch to avoid conflicts with untracked files.
✅ Deploy Preview for nextflow-training ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
Nextflow linting complete! ❌ 1 files had 1 errors 💡 Tip: Click filename locations to go directly to that code. View all 1 issues
View formatting changes
|
Add new commands to translate.py: - detect-work: detects languages needing translation updates - run-batch: dispatches translation commands for multiple languages - run-post-fix: runs post-processing fixer Extract helper functions: - get_all_languages(): returns all translation language codes - get_outdated_files(): checks for outdated translations (reused) This reduces the workflow bash from ~200 lines to ~25 lines, making the logic testable and easier to maintain.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
translate.ymlandtranslate-auto.ymlinto a single unifiedTranslateworkflowautocommand (default) that detects outdated translations and prompt changesupdate-and-addcommand totranslate.pyuv runcommands to use PEP 723 inline script dependenciesdocs-dev.ymlby moving artifacts before checkout