-
-
Notifications
You must be signed in to change notification settings - Fork 112
37 lines (28 loc) · 1.16 KB
/
crowdin.yml
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
name: Upload translation sources to Crowdin translate.keyman.com
on:
schedule:
# At 06:00 every day. https://crontab.cronhub.io/
- cron: '0 6 * * *'
jobs:
upload-sources-to-crowdin:
if: github.repository == 'keymanapp/keyman'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: crowdin action
uses: crowdin/[email protected]
with:
upload_sources: true
# This is the name of the top-level directory that Crowdin will use for files.
# Note that this is not a "branch" in the git sense, but more like a top-level directory in your Crowdin project.
# This branch does NOT need to be manually created. It will be created automatically by the action.
crowdin_branch_name: master
config: 'crowdin.yml'
# TODO if we want action to auto create PRs
#GITHUB_TOKEN: $
# See https://translate.keyman.com/project/keyman/tools/api
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
# A personal access token
# See https://crowdin.com/settings#api-key to generate a token
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}