-
Notifications
You must be signed in to change notification settings - Fork 28
39 lines (35 loc) · 1.04 KB
/
lokalise-pull.yml
File metadata and controls
39 lines (35 loc) · 1.04 KB
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
29
30
31
32
33
34
35
36
37
38
39
name: Pull translations from Lokalise
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1' # Weekly on Monday at 6 AM UTC
jobs:
pull-translations:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Pull from Lokalise
uses: lokalise/lokalise-pull-action@v5.2.0
with:
api_token: ${{ secrets.LOKALISE_API_TOKEN }}
project_id: ${{ secrets.LOKALISE_PROJECT_ID }}
base_lang: en
file_format: xml
translations_path: |
composeApp/src/commonMain/composeResources
file_ext: |
xml
additional_params: >
{
"export_empty_as": "skip",
"export_sort": "a_z"
}
pr_title: "chore: update translations from Lokalise"
pr_body: "Automated translation update from Lokalise."
pr_labels: "translations,automated"