Skip to content

Simplify Crowdin translation synchronization workflow#79

Merged
zstanecic merged 1 commit into
hkatic:masterfrom
abdel792:updateAddonTemplate
May 24, 2026
Merged

Simplify Crowdin translation synchronization workflow#79
zstanecic merged 1 commit into
hkatic:masterfrom
abdel792:updateAddonTemplate

Conversation

@abdel792
Copy link
Copy Markdown
Collaborator

Simplify Crowdin translation synchronization workflow

This PR simplifies the translation synchronization workflow used by Crowdin integration.

Changes included

  • Remove the dedicated l10n branch handling previously used during translation synchronization.
  • Push translation updates directly to the workflow branch currently checked out by GitHub Actions.
  • Remove the obsolete downloadTranslationsBranch workflow environment variable.
  • Replace multiple intermediate git push operations with a single final push performed after all commits have been created.

Why this change is needed

The previous implementation pushed the final translation synchronization commit to a dedicated l10n branch instead of the active workflow branch.

As a result:

  • only the first generated commit was immediately visible on the workflow branch;
  • the final translation update commit was pushed elsewhere;
  • and repository states could temporarily appear inconsistent during workflow execution.

This new approach keeps the complete synchronization process on the current workflow branch and avoids intermediate repository states by performing a single final git push.

Expected benefits

  • Simpler and more predictable synchronization behavior.
  • Cleaner workflow execution.
  • Easier debugging and repository maintenance.
  • Reduced confusion for add-on maintainers consuming translation updates.
    This removes the dedicated l10n branch handling previously used during translation synchronization.

Translation updates are now pushed directly to the branch checked out by the workflow instead of being force-pushed to l10n.

Also removes the obsolete downloadTranslationsBranch workflow environment variable, which is no longer needed.

Additionally, translation synchronization now performs a single final git push after all commits have been created, avoiding intermediate repository states during workflow execution.

This removes the dedicated l10n branch handling previously used
during translation synchronization.

Translation updates are now pushed directly to the branch checked
out by the workflow instead of being force-pushed to l10n.

Also removes the obsolete downloadTranslationsBranch workflow
environment variable, which is no longer needed.

Additionally, translation synchronization now performs a single
final git push after all commits have been created, avoiding
intermediate repository states during workflow execution.
@zstanecic zstanecic merged commit c50e1c8 into hkatic:master May 24, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants