-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
191 lines (189 loc) · 5.83 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# https://certificationapi.oshwa.org/documentation#tag/Project/paths/~1api~1projects/post
name: OSHWA Action
description: request certification via OSHWA API
author: nerdyscout
branding:
icon: settings
color: gray-dark
inputs:
url:
default: "https://certificationapi.oshwa.org/api/"
required: true
token:
description: "OSHWA API Key"
required: true
# payload
responsiblePartyType:
description: "Responsible party type. Must be either 'Individual', 'Company', or 'Organization'."
required: true
responsibleParty:
description: "Name of Individual, Company, or Organization Responsible for the Certified Item."
required: true
default: $GITHUB_REPOSITORY_OWNER
bindingParty:
description: "If not an Individual, name of Individual with Authority to Bind the Company or Organization. Required only if responsiblePartyType is not 'Individual'."
required: true
default: ""
country:
description:
required: true
streetAddress1:
description:
required: false
streetAddress2:
description:
required: false
city:
description:
required: false
state:
description:
required: false
postalCode:
description:
required: false
privateContact:
description:
required: false
publicContact:
description:
required: false
projectName:
description:
required: true
projectWebsite:
description:
required: false
projectVersion:
description:
required: false
previousVersions:
description: "An array of OSHWA UIDs"
required: false
projectDescription:
description:
required: false
primaryType:
description: "Primary project type."
required: true
additionalType:
description: "Additional project types."
required: false
projectKeywords:
description: "Additional searchable keywords"
required: false
citation:
description: "If the project incorporates or builds upon other open projects that are not currently certified by OSHWA, this field can be used to cite those projects."
required: false
documentationUrl:
description: "URL for project documentation"
required: false
availableFileFormat:
description: "All project documentation and design files are available in the preferred format for making changes."
required: false
default: false
hardwareLicense:
description:
required: true
softwareLicense:
description:
required: true
documentationLicense:
description:
required: true
noCommercialRestriction:
description: "The project is licensed in a way to allow for modifications and derivative works without commercial restriction."
required: true
default: false
explanationNcr:
description: "Explanation is required if noCommercialRestriction is false."
required: true
default: ""
noDocumentationRestriction:
description: "There is no restriction within my control to selling or giving away the project documentation."
required: true
default: false
explanationNdr:
description: "Explanation is required if noDocumentationRestriction is false."
required: true
default: ""
openHardwareComponents:
description: "Where possible, I have chosen to use components in my hardware that are openly licensed."
required: true
default: false
explanationOhwc:
description: "Explanation is required if openHardwareComponents is false."
required: true
default: ""
creatorContribution:
description: "I understand and comply with the 'Creator Contribution requirement,' explained in the Requirements for Certification."
required: true
default: false
explanationCcr:
description: "Explanation is required if creatorContribution is false."
required: true
default: ""
noUseRestriction:
description: "There is no restriction on the use by persons or groups, or by the field of endeavor."
required: true
default: false
explanationNur:
description: "Explanation is required if noUseRestriction is false."
required: true
default: ""
redistributedWork:
description: "The rights granted by any license on the project applies to all whom the work is redistributed to."
required: true
default: false
explanationRwr:
description: "Explanation is required if redistributedWork is false."
required: true
default: ""
noSpecificProduct:
description: "The rights granted under any license on the project do not depend on the licensed work being part of a specific product."
required: true
default: false
explanationNsp:
description: "Explanation is required if noSpecificProduct is false."
required: true
default: ""
noComponentRestriction:
description: "The rights granted under any license on the project do not restrict other hardware or software, for example by requiring that all other hardware or software sold with the item be open source."
required: true
default: false
explanationNor:
description: "Explanation is required if noComponentRestriction is false."
required: true
default: ""
technologyNeutral:
description: "The rights granted under any license on the project are technology neutral."
required: true
default: false
explanationTn:
description: "Explanation is required if technologyNeutral is false."
required: true
default: ""
CertificationMarkTerms:
description: "Certification Mark Terms"
required: true
explanationCertificationTerms:
description: "Explanation for certification mark terms"
required: true
default: ""
relationship:
description:
required: true
default: "self"
agreementTerms:
description: "Agreement to terms"
required: true
default: true
parentName:
description: "Parent name"
required: true
outputs:
response:
description: "complete returned data"
runs:
using: 'node16'
main: 'dist/index.js'