-
-
Notifications
You must be signed in to change notification settings - Fork 8
29 lines (25 loc) · 663 Bytes
/
Copy pathcrowdin.yml
File metadata and controls
29 lines (25 loc) · 663 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
29
name: Crowdin Action
on:
workflow_dispatch:
push:
branches: [ "main" ]
schedule:
- cron: "0 0 * * 0"
permissions:
contents: write
pull-requests: write
jobs:
crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Synchronize with Crowdin
uses: crowdin/github-action@v2
with:
download_translations: true
create_pull_request: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}