-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
executable file
·47 lines (43 loc) · 1.3 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
44
45
46
47
name: 'Lokalise TMS Github Action'
description: "Scienta's take on Translation Management"
author: 'Scienta'
runs:
using: 'node16'
main: 'dist/index.js'
inputs:
command:
description: 'Command of the github action (extract, addSnapshot, createTranslationFiles, cleanupObsoleteKeys, tagObsoleteKeys)'
required: true
actions-rc:
description: 'actions rc (configuration) file'
required: true
mockGithub:
description: 'Mock Github services'
required: false
token:
description: 'Github Actions token'
required: true
repo:
description: 'The repository on which to execute'
required: true
owner:
description: 'The aforementioned repository owner'
required: true
pr_number:
description: 'The pull request number'
required: true
lokaliseApi:
description: 'Lokalise API key'
required: true
lokaliseProject:
description: 'Lokalise API project'
required: true
prCommentTemplate:
description: 'Pull request comment template'
required: false # Only required in the extract flow
prCommentSummaryTemplate:
description: 'Pull request comment summary template (if the comment body is too big)'
required: false # Only required in the extract flow
mockStoragePath:
description: 'Mock Github storage path'
required: false