Sync Translations #8
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
# Sync translations from Crowdin to GitHub. | |
name: Sync Translations | |
on: | |
schedule: | |
- cron: "28 18 1,15 * *" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
syncTranslations: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: crowdinSync | |
env: | |
crowdinAuthToken: ${{ secrets.CROWDIN_AUTH_TOKEN }} | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
python3 ci/crowdinSync syncTranslations |