screwdriver-data-schema 22.0.4 → 22.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugins/scm.js +8 -1
package/package.json
CHANGED
package/plugins/scm.js
CHANGED
|
@@ -109,7 +109,14 @@ const ADD_PR_COMMENT = Joi.object()
|
|
|
109
109
|
scmUri,
|
|
110
110
|
token,
|
|
111
111
|
prNum: core.scm.hook.extract('prNum').required(),
|
|
112
|
-
|
|
112
|
+
comments: Joi.array()
|
|
113
|
+
.items(
|
|
114
|
+
Joi.object().keys({
|
|
115
|
+
text: Joi.string().required(),
|
|
116
|
+
keyword: Joi.string().optional()
|
|
117
|
+
})
|
|
118
|
+
)
|
|
119
|
+
.required(),
|
|
113
120
|
jobName,
|
|
114
121
|
pipelineId,
|
|
115
122
|
scmContext
|