-
-
Notifications
You must be signed in to change notification settings - Fork 155
28 lines (26 loc) · 849 Bytes
/
crowdin-download.yml
File metadata and controls
28 lines (26 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Download Crowdin Translations
permissions:
contents: write
pull-requests: write
on:
schedule:
- cron: '0 * * * *'
jobs:
download:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download translations and create PR
uses: crowdin/github-action@v2
with:
upload_sources: false
upload_translations: false
download_translations: true
create_pull_request: true
pull_request_title: 'New translations from Crowdin'
pull_request_body: 'Completed translations have been downloaded.'
localization_branch_name: crowdin-translations
pull_request_base_branch_name: dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}