diff --git a/extension/task/IDependabotConfig.ts b/extension/task/IDependabotConfig.ts index e8c52f92..315a120e 100644 --- a/extension/task/IDependabotConfig.ts +++ b/extension/task/IDependabotConfig.ts @@ -28,7 +28,6 @@ export interface IDependabotUpdate { * Location of package manifests. * */ directory: string; - schedule?: IDependabotUpdateSchedule; /** * Customize which updates are allowed. */ @@ -79,25 +78,6 @@ export interface IDependabotUpdate { versioningStrategy?: string; } -export interface IDependabotUpdateSchedule { - /** - * Time of day to check for updates (hh:mm) - */ - time?: string; - /** - * Day of week to check for updates - */ - day?: string; - /** - * Timezone for time of day (zone identifier) - */ - timezone?: string; - /** - * How often to check for updates - */ - interval: string; -} - export interface IDependabotRegistry { /** Identifies the type of registry*/ type: string; diff --git a/extension/tests/utils/dependabot.yml b/extension/tests/utils/dependabot.yml index f10d0673..f2b1736d 100644 --- a/extension/tests/utils/dependabot.yml +++ b/extension/tests/utils/dependabot.yml @@ -7,16 +7,9 @@ version: 2 updates: - package-ecosystem: 'docker' # See documentation for possible values directory: '/' # Location of package manifests - schedule: - interval: 'weekly' - time: '03:00' - day: 'sunday' open-pull-requests-limit: 10 - package-ecosystem: 'npm' # See documentation for possible values directory: '/client' # Location of package manifests - schedule: - interval: 'daily' - time: '03:15' open-pull-requests-limit: 10 registries: - reg1