Skip to content

Commit b82a062

Browse files
[vendor-schemas] automated update (#269)
Co-authored-by: sirosen <[email protected]>
1 parent ce691f4 commit b82a062

File tree

7 files changed

+39
-13
lines changed

7 files changed

+39
-13
lines changed

CHANGELOG.rst

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Unreleased
99
----------
1010

1111
.. vendor-insert-here
12+
- Update vendored schemas (2023-06-13)
1213
- Fix the handling of malformed and missing ``Last-Modified`` headers in the
1314
caching downloader. Thanks :user:`balihb`! (:issue:`275`)
1415

src/check_jsonschema/builtin_schemas/vendor/github-workflows.json

+32-4
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@
10611061
"description": "Runs your workflow anytime someone creates a deployment, which triggers the deployment event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see https://developer.github.com/v3/repos/deployments/."
10621062
},
10631063
"deployment_status": {
1064-
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#deployment-status-event-deployment_status",
1064+
"$comment": "https://docs.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows",
10651065
"$ref": "#/definitions/eventObject",
10661066
"description": "Runs your workflow anytime a third party provides a deployment status, which triggers the deployment_status event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see https://developer.github.com/v3/repos/deployments/#create-a-deployment-status."
10671067
},
@@ -1626,8 +1626,9 @@
16261626
},
16271627
"type": {
16281628
"description": "A string representing the type of the input.",
1629+
"$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype",
16291630
"type": "string",
1630-
"enum": ["string", "choice", "boolean", "environment"]
1631+
"enum": ["string", "choice", "boolean", "number"]
16311632
},
16321633
"options": {
16331634
"$comment": "https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows",
@@ -1640,6 +1641,23 @@
16401641
}
16411642
},
16421643
"allOf": [
1644+
{
1645+
"if": {
1646+
"properties": {
1647+
"type": {
1648+
"const": "string"
1649+
}
1650+
},
1651+
"required": ["type"]
1652+
},
1653+
"then": {
1654+
"properties": {
1655+
"default": {
1656+
"type": "string"
1657+
}
1658+
}
1659+
}
1660+
},
16431661
{
16441662
"if": {
16451663
"properties": {
@@ -1655,11 +1673,21 @@
16551673
"type": "boolean"
16561674
}
16571675
}
1676+
}
1677+
},
1678+
{
1679+
"if": {
1680+
"properties": {
1681+
"type": {
1682+
"const": "number"
1683+
}
1684+
},
1685+
"required": ["type"]
16581686
},
1659-
"else": {
1687+
"then": {
16601688
"properties": {
16611689
"default": {
1662-
"type": "string"
1690+
"type": "number"
16631691
}
16641692
}
16651693
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
23fdd0a2aaa1fbf58e3ff2daa6fd42722e80df9bc5a1578def82d1749ae95780
1+
7ea74bc362d1a66e10da65604ceb4f3d66c7f236bdebf13c5c83b278e1978e9a

src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -1067,11 +1067,7 @@
10671067
"type": "string",
10681068
"markdownDescription": "Determines the strategy for downloading and updating the cache. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cachepolicy)",
10691069
"default": "pull-push",
1070-
"enum": [
1071-
"pull",
1072-
"push",
1073-
"pull-push"
1074-
]
1070+
"pattern": "pull-push|pull|push|\\$\\w{1,255}"
10751071
},
10761072
"unprotect": {
10771073
"type": "boolean",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e5193af6cbf07b0ae6634e79cd2bceee7e457b4c44a2a392335ba7e51ede04cd
1+
eb6f92e15309d3ace24945af80bbf7a77f9a5154f12b76f95af9764f2a6bafff

src/check_jsonschema/builtin_schemas/vendor/renovate.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,8 @@
10511051
"default": {
10521052
"fileMatch": [
10531053
"(^|/)go\\.mod$"
1054-
]
1054+
],
1055+
"pinDigests": false
10551056
},
10561057
"$ref": "#"
10571058
},
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
79372e8f602c05fe2b40d036e096b0bb4eecb3b2debd1ecca84b6dc7316d35d4
1+
44b946bc4ba46554dd4666cb1a70723d500c7341615c7e6a1ec2bf27cd1e8134

0 commit comments

Comments
 (0)