Update translations #93
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
name: Update translations | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
translations: | |
name: Update translations | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.TRANSLATIONS_UPDATE }} | |
- name: Install dependencies | |
run: sudo apt-get install -y python3-jsonschema gettext | |
- name: Run scripts | |
run: python i18n/update_translations.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v6 | |
with: | |
author_name: PhoenicisBot | |
author_email: [email protected] | |
message: 'Update translations' | |
add: 'i18n/Messages.properties' |