ci: Add daily Crowdin Pretranslation trigger (#3983)

This commit is contained in:
Kevin Song 2022-05-13 16:23:01 -05:00 committed by GitHub
parent 296d55f47e
commit 190dfa8885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,15 @@
# Run pre-translate with translation memory, all files/langs, at midnight daily.
name: Crowdin Updates
on:
schedule:
- cron: '0 0 * * *'
jobs:
trigger_crowdin_tm:
name: Crowdin Translation Memory Trigger
runs-on: ubuntu-latest
steps:
- uses: starship/crowdin-pretranslate-action@v0.1.0
with:
project_id: 372655
api_key: ${{ secrets.CROWDIN_API_KEY }}