-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
55 lines (50 loc) · 1.63 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
name: 'action-crowdin-contributors'
description: 'Automate acknowledging translators and proofreaders to your open-source projects in Crowdin'
author: 'Andrii Bodnar'
branding:
icon: 'users'
color: 'yellow'
inputs:
# Contributors table configuration
max_contributors:
description: 'Only the specified amount of contributors will be shown'
default: '30'
required: false
min_words_contributed:
description: 'Minimum words contributed (both translated and approved)'
default: '100'
required: false
contributors_per_line:
description: 'Maximum number of columns for the contributors table'
default: '7'
required: false
image_size:
description: "Size (in px) of the user's avatar"
default: '100'
required: false
include_languages:
description: "Specifies whether to include contributed languages in table"
required: false
crowdin_project_link:
description: "Crowdin project link will be added after the contributors' table"
required: false
files:
description: 'Array of files to update'
default: 'README.md'
required: false
placeholder_start:
description: 'Placeholder that marks the start of the contributors table'
default: '<!-- CROWDIN-CONTRIBUTORS-START -->'
required: false
placeholder_end:
description: 'Placeholder that marks the end of the contributors table'
default: '<!-- CROWDIN-CONTRIBUTORS-END -->'
required: false
outputs:
contributors_table:
description: 'Generated table with contributors'
json_report:
description: 'JSON report with contributors used to render a table'
runs:
using: 'node20'
main: 'dist/index.js'