Merge branch 'twn' of https://github.com/wikimedia/wikipedia-ios into… #605
This file contains 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
# Transform localizations from TranslateWiki.net | |
# | |
# As of late 2020, TranslateWiki creates PRs automatically, in line with | |
# how they work with other repos. However, the strings still need to be | |
# translated to work well with the iOS app. This script runs when a new PR | |
# is created by TranslateWiki, to add everything the app needs to the PR. | |
# | |
name: Import localizations from TranslateWiki | |
on: | |
push: | |
branches: | |
- twn | |
jobs: | |
update-localizations: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update localizations | |
continue-on-error: true | |
run: | | |
$GITHUB_WORKSPACE/scripts/localization $GITHUB_WORKSPACE | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "Import translations from TranslateWiki" | |
git push |