Skip to content

Commit e0cee6a

Browse files
authored
Merge pull request #689 from python-jsonschema/vendor-schemas-auto
Update vendored schemas
2 parents a6c5965 + 053abdd commit e0cee6a

21 files changed

Lines changed: 1099 additions & 243 deletions

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13+
- Update vendored schemas: bitbucket-pipelines, buildkite, changie, github-workflows,
14+
gitlab-ci, mergify, renovate, snapcraft, travis, woodpecker-ci (2026-06-29)
15+
1316
0.37.3
1417
------
1518

src/check_jsonschema/builtin_schemas/vendor/bitbucket-pipelines.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/check_jsonschema/builtin_schemas/vendor/buildkite.json

Lines changed: 91 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,22 +257,28 @@
257257
"properties": {
258258
"channels": {
259259
"type": "array",
260+
"minItems": 1,
260261
"items": {
261-
"type": "string"
262+
"description": "A Slack channel as `#channel`, `team#channel`, `@user`, `team@user`, or a Slack ID. Must not be empty or contain whitespace.",
263+
"type": "string",
264+
"pattern": "^\\S+$"
262265
}
263266
},
264267
"message": {
265268
"type": "string"
266269
}
267-
}
270+
},
271+
"required": ["channels"]
268272
},
269273
"notifySlack": {
270274
"type": "object",
271275
"properties": {
272276
"slack": {
273277
"oneOf": [
274278
{
275-
"type": "string"
279+
"description": "A Slack channel as `#channel`, `team#channel`, `@user`, `team@user`, or a Slack ID. Must not be empty or contain whitespace.",
280+
"type": "string",
281+
"pattern": "^\\S+$"
276282
},
277283
{
278284
"$ref": "#/definitions/notifySlackObject"
@@ -332,7 +338,88 @@
332338
"type": "object",
333339
"properties": {
334340
"github_check": {
335-
"type": "object"
341+
"type": "object",
342+
"properties": {
343+
"name": {
344+
"description": "The name of the GitHub check",
345+
"type": "string"
346+
},
347+
"output": {
348+
"type": "object",
349+
"properties": {
350+
"title": {
351+
"description": "The title of the GitHub check's output",
352+
"type": "string"
353+
},
354+
"summary": {
355+
"description": "The summary of the GitHub check's output",
356+
"type": "string"
357+
},
358+
"text": {
359+
"description": "The details of the GitHub check's output. Supports Markdown",
360+
"type": "string"
361+
},
362+
"annotations": {
363+
"type": "array",
364+
"items": {
365+
"type": "object",
366+
"properties": {
367+
"path": {
368+
"description": "The path of the file to add an annotation to, relative to the repository root",
369+
"type": "string"
370+
},
371+
"start_line": {
372+
"description": "The start line of the annotation",
373+
"type": "integer"
374+
},
375+
"end_line": {
376+
"description": "The end line of the annotation",
377+
"type": "integer"
378+
},
379+
"start_column": {
380+
"description": "The start column of the annotation. Only valid when start_line and end_line are equal",
381+
"type": "integer"
382+
},
383+
"end_column": {
384+
"description": "The end column of the annotation. Only valid when start_line and end_line are equal",
385+
"type": "integer"
386+
},
387+
"annotation_level": {
388+
"type": "string",
389+
"description": "The level of the annotation",
390+
"enum": ["notice", "warning", "failure"]
391+
},
392+
"message": {
393+
"description": "The message for the annotation",
394+
"type": "string"
395+
},
396+
"title": {
397+
"description": "The title for the annotation",
398+
"type": "string"
399+
},
400+
"raw_details": {
401+
"description": "Additional details for the annotation, displayed alongside the message",
402+
"type": "string"
403+
}
404+
},
405+
"required": [
406+
"path",
407+
"start_line",
408+
"end_line",
409+
"annotation_level",
410+
"message"
411+
],
412+
"additionalProperties": false
413+
}
414+
}
415+
},
416+
"additionalProperties": false
417+
}
418+
},
419+
"additionalProperties": false
420+
},
421+
"if": {
422+
"$ref": "#/definitions/if"
336423
}
337424
},
338425
"additionalProperties": false

src/check_jsonschema/builtin_schemas/vendor/changie.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
},
118118
"auto": {
119119
"type": "string",
120-
"description": "Auto determines what value to bump when using `batch auto` or `next auto`.\nPossible values are major, minor, patch or none and the highest one is used if\nmultiple changes are found. none will not bump the version.\nOnly none changes is not a valid bump and will fail to batch.\nexample: yaml\nauto: minor"
120+
"description": "Auto determines what value to bump when using `batch auto` or `next auto`.\nPossible values are major, minor, patch or none and the highest one is used if\nmultiple changes are found. none will not bump the version.\nOnly none changes is not a valid bump and will fail to batch.\nAuto also supports go templates using the change as the template data, so the\nlevel can be calculated from custom values. The rendered value must be one of\nthe possible values listed above.\nexample: yaml\nauto: '{{if eq .Custom.Breaking \"Yes\"}}major{{else}}patch{{end}}'"
121121
}
122122
},
123123
"additionalProperties": false,
@@ -420,8 +420,6 @@
420420
"required": [
421421
"changesDir",
422422
"unreleasedDir",
423-
"headerPath",
424-
"changelogPath",
425423
"versionExt",
426424
"changeFormat"
427425
],

0 commit comments

Comments
 (0)