Skip to content

Commit

Permalink
Do not parse schedule in the extension (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell authored Sep 21, 2023
1 parent a478086 commit 65d00aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
20 changes: 0 additions & 20 deletions extension/task/IDependabotConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export interface IDependabotUpdate {
* Location of package manifests.
* */
directory: string;
schedule?: IDependabotUpdateSchedule;
/**
* Customize which updates are allowed.
*/
Expand Down Expand Up @@ -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;
Expand Down
7 changes: 0 additions & 7 deletions extension/tests/utils/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65d00aa

Please sign in to comment.