You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json
+53-4Lines changed: 53 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1175,11 +1175,60 @@
1175
1175
]
1176
1176
},
1177
1177
"exists": {
1178
-
"type": "array",
1179
1178
"markdownDescription": "Additional attributes will be provided to job if any of the provided paths matches an existing file in the repository. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#rulesexists).",
1180
-
"items": {
1181
-
"type": "string"
1182
-
}
1179
+
"anyOf": [
1180
+
{
1181
+
"type": "array",
1182
+
"items": {
1183
+
"type": "string"
1184
+
}
1185
+
},
1186
+
{
1187
+
"type": "object",
1188
+
"additionalProperties": false,
1189
+
"required": [
1190
+
"paths"
1191
+
],
1192
+
"properties": {
1193
+
"paths": {
1194
+
"type": "array",
1195
+
"description": "List of file paths.",
1196
+
"items": {
1197
+
"type": "string"
1198
+
}
1199
+
},
1200
+
"project": {
1201
+
"type": "string",
1202
+
"description": "Path of the project to search in."
1203
+
}
1204
+
}
1205
+
},
1206
+
{
1207
+
"type": "object",
1208
+
"additionalProperties": false,
1209
+
"required": [
1210
+
"paths",
1211
+
"project"
1212
+
],
1213
+
"properties": {
1214
+
"paths": {
1215
+
"type": "array",
1216
+
"description": "List of file paths.",
1217
+
"items": {
1218
+
"type": "string"
1219
+
}
1220
+
},
1221
+
"project": {
1222
+
"type": "string",
1223
+
"description": "Path of the project to search in."
0 commit comments