2022-05-13 21:23:01 +00:00
|
|
|
# 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
|
2023-01-04 09:31:25 +00:00
|
|
|
# Prevent this workflow from running (and failing) on forks
|
|
|
|
if: github.repository == 'starship/starship'
|
2022-05-13 21:23:01 +00:00
|
|
|
steps:
|
2022-05-18 07:05:46 +00:00
|
|
|
- uses: starship/crowdin-pretranslate-action@v0.1.1
|
2022-05-13 21:23:01 +00:00
|
|
|
with:
|
|
|
|
project_id: 372655
|
2022-05-18 10:03:23 +00:00
|
|
|
api_key: ${{ secrets.CROWDIN_API_TOKEN }}
|