-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
43 lines (43 loc) · 1.48 KB
/
action.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
38
39
40
41
42
43
name: "check-crowdin-translation-progress"
description: "Checks translation and approval progress in Crowdin"
inputs:
api-token:
description: >
Crowdin personal access token.
required: true
organization-domain:
description: >
Domain of your organization (for Crowdin Enterprise only).
Skip if your account is non-enterprise.
required: false
project-id:
description: >
ID of your project in Crowdin.
required: true
branch-name:
description: >
Crowdin branch name, for example `"feature.my-awesome-feature"`.
Should be provided if you use branches in Crowdin and you want to check progress for specific branch only.
Skip if you want to check progress for the whole project.
required: false
languages:
description: >
List of codes for languages that should be checked, separated by comma, for example `"be,fr,lt"`.
You can skip this input if you want to check all target languages of your project.
required: false
target-progress:
description: >
Percentage of progress that is sufficient for you.
Example: `"95"`.
If actual progress is less than this, the check will fail.
Skip if your desired progress is 100%.
required: false
default: "100"
check-approval:
description: >
If `true`, the check will be run against approval (proofread) progress instead of translation progress.
required: false
default: "true"
runs:
using: "node16"
main: "dist/index.js"