|
225 | 225 | type: object |
226 | 226 | properties: |
227 | 227 | enabled: { type: boolean } |
228 | | - interval: { enum: [cron, daily, weekly, monthly, quarterly, semiannually, yearly] } |
229 | | - cronjob: { type: string, format: cron } |
230 | | - day: { type: string, format: weekday } |
231 | | - time: { type: string, format: time } |
232 | | - timezone: { type: string, format: timezone } |
233 | | - open-pull-requests-limit: { type: integer, minimum: 0 } |
234 | | - |
| 228 | + config: { $ref: dependabot-config } |
235 | 229 | additionalProperties: false |
| 230 | + required: [enabled, config] |
236 | 231 |
|
237 | 232 | - $id: dependabot-github-actions |
238 | 233 | type: object |
239 | 234 | properties: |
240 | 235 | enabled: { type: boolean } |
241 | | - actionsEnabled: { type: boolean } # XXX for github-actions only |
242 | | - interval: { enum: [cron, daily, weekly, monthly, quarterly, semiannually, yearly] } |
243 | | - cronjob: { type: string, format: cron } |
244 | | - day: { type: string, format: weekday } |
245 | | - time: { type: string, format: time } |
246 | | - timezone: { type: string, format: timezone } |
247 | | - open-pull-requests-limit: { type: integer, minimum: 0 } |
248 | | - |
| 236 | + actionsEnabled: { type: boolean } |
| 237 | + config: { $ref: dependabot-config } |
249 | 238 | additionalProperties: false |
| 239 | + required: [enabled, actionsEnabled, config] |
| 240 | + |
| 241 | +- $id: dependabot-config |
| 242 | + type: object |
| 243 | + properties: |
| 244 | + schedule: |
| 245 | + type: object |
| 246 | + properties: |
| 247 | + interval: { enum: [cron, daily, weekly, monthly, quarterly, semiannually, yearly] } |
| 248 | + cronjob: { type: string, format: cron } |
| 249 | + day: { type: string, format: weekday } |
| 250 | + time: { type: string, format: time } |
| 251 | + timezone: { type: string, format: timezone } |
| 252 | + additionalProperties: false |
| 253 | + required: [interval] |
| 254 | + open-pull-requests-limit: { type: integer, minimum: 0 } |
| 255 | + required: [schedule] |
0 commit comments