-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
85 lines (79 loc) · 2.5 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
author: 'sergioisidoro'
branding:
icon: 'box'
color: 'green'
description: 'Push your strings automatically to Transifex when PR is ready for translations'
name: 'github-transifex-actions'
runs:
using: 'docker'
image: 'docker://sergioisidoro/github-transifex-action'
inputs:
tx_token:
description: 'Transifex Token'
required: true
push_sources:
description: 'Pushes source locales to Transifex'
required: false
default: 'true'
push_translations:
description: 'Pushes Translations to Transifex'
default: 'false'
required: false
pull_sources:
description: 'Pulls sources from Transifex'
required: false
default: 'true'
pull_translations:
description: 'Pulls Translations from Transifex'
default: 'true'
required: false
commit_to_pr:
description: 'Commits the results of the merge / pulls to the PR'
default: 'false'
required: false
minimum_perc:
description: 'Minimum percentage the files need to be translated to be fetched'
default: '0'
required: false
disable_override:
description: 'If true it will not override the files locally (WARN: Has issues with git)'
default: 'false'
required: false
git_flow:
description: 'Should use Git flow?'
default: 'true'
required: false
git_unshallow:
description: 'Unshallow git (required in git workflow if the git clone action only does shallow clone)'
default: 'true'
required: false
current_branch:
description: 'The current branch that is under work. Defaults to GITHUB_HEAD_REF'
required: false
master_branch:
description: 'The branch that is used as master. Defaults to master'
default: 'master'
required: false
github_token:
description: 'Github required for git flow'
required: false
translations_folder:
description: 'The wildcard-able expression for the folder containing the locales. Eg /config/locales'
required: false
committer_email:
description: 'The email of the author of commit'
default: '[email protected]'
required: false
committer_name:
default: 'Transifex Github action'
description: 'The email of the author of commit'
required: false
skip_push_commit:
description: 'Does not push anything back to git remote (used for testing)'
required: false
default: 'false'
parallel:
description: 'Pushes or pulls things from transifex in parallel'
required: false
default: 'false'