Skip to content

Commit 7722a09

Browse files
.github/workflows/crowdin-download.yml
1 parent a8ea099 commit 7722a09

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Crowdin download
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
10+
jobs:
11+
crowdin-download:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: crowdin action
21+
uses: crowdin/github-action@v2
22+
with:
23+
upload_sources: false
24+
upload_translations: false
25+
download_translations: true
26+
localization_branch_name: l10n_crowdin_translations
27+
create_pull_request: true
28+
pull_request_title: 'New Crowdin Translations'
29+
pull_request_base_branch_name: 'release'
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
32+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 commit comments

Comments
 (0)