feat: add translation-sync reusable workflow#24
Merged
DeepDiver1975 merged 13 commits intomainfrom Apr 9, 2026
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace direct push with peter-evans/create-pull-request so that branch protection on master is respected. A fixed branch name (chore/translations-update) means an open PR is reused on subsequent daily runs; merging deletes the branch so a fresh PR is opened next time there are changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Generate a short-lived installation token via actions/create-github-app-token so that created PRs trigger workflows and the app identity is used instead of github-actions[bot]. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GITHUB_TOKEN only needs the default read access now that all privileged operations use the GitHub App token. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mmattel
approved these changes
Apr 9, 2026
This was referenced Apr 9, 2026
This was referenced Apr 9, 2026
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
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
Adds a reusable
translation-syncworkflow that can be called from any ownCloud app repository to sync translations with Transifex. Uses a GitHub App token for pull request creation so that created pull requests trigger workflows and commits are signed and attributed to the bot identity rather thangithub-actions[bot].Inputs
modeold,make, ornativebranchmastersub_pathl10nl10nor.)package_managernpmnpmorpnpm(make mode only)Secrets
TX_TOKENTRANSLATION_APP_IDTRANSLATION_APP_PRIVATE_KEYPull request behaviour
chore/translations-update) means an open pull request is reused on subsequent sync runs rather than opening duplicatespeter-evans/create-pull-requestsign-commits: trueExample caller
🤖 Generated with Claude Code