-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
121 lines (114 loc) · 2.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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: 'crowdin-request-action'
description: "A GitHub Action to send arbitrary requests to Crowdin's REST API"
author: 'Andrii Bodnar'
branding:
icon: 'box'
color: 'green'
inputs:
route:
description: 'HTTP Verb + path'
required: true
body:
description: 'Request body (for POST, PUT, PATCH methods)'
required: false
query:
description: 'Query parameters (for GET methods)'
required: false
headers:
description: 'Request headers'
required: false
# Retry configuration
retries:
description: 'Retries count'
required: false
wait_interval:
description: 'Wait interval in milliseconds between retries'
required: false
skip_error_codes:
description: 'Error codes to check if retry should not be applied (separated by comma)'
required: false
retry_until_finished:
description: 'Retry the request until the asynchronous action finished (should be used to check the status of the operation)'
required: false
# TODO: fetch all configuration
# Path parameters
storageId:
description: Storage ID
projectId:
description: Storage ID
groupId:
description: Group ID
languageId:
description: Language ID
branchId:
description: Branch ID
directoryId:
description: Directory ID
fileId:
description: File ID
revisionId:
description: Revision ID
preTranslationId:
description: Pre-Translate ID
buildId:
description: Build ID
stringId:
description: String ID
approvalId:
description: Approval ID
translationId:
description: Translation ID
voteId:
description: Vote ID
commentId:
description: Comment ID
screenshotId:
description: Screenshot ID
tagId:
description: Tag ID
conceptId:
description: Concept ID
glossaryId:
description: Glossary ID
exportId:
description: Export ID
importId:
description: Import ID
termId:
description: Term ID
tmId:
description: TM ID
mtId:
description: MT ID
reportId:
description: Report ID
reportSettingsTemplateId:
description: Report Settings Template ID
taskId:
description: Task ID
userId:
description: User ID
memberId:
description: Member ID
webhookId:
description: Webhook ID
bundleId:
description: Bundle ID
hash:
description: Hash ID
labelId:
description: Label ID
stepId:
description: Step ID
teamId:
description: Team ID
outputs:
status:
description: 'Response status code'
headers:
description: 'Response headers as JSON string with lower cased header names'
data:
description: 'Response body as string'
runs:
using: 'node20'
main: 'dist/index.js'