Skip to content

Commit db74b80

Browse files
committed
ci: correct schedule syntax in renovate preset
The existing schedule syntax for Renovate was using a format that is unnecessarily verbose. This commit simplifies the schedule definitions by combining the 'after' and 'before' clauses into a single, more readable string, which is also a valid syntax.
1 parent e17731c commit db74b80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

renovate-presets/default.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
automerge: false,
77

88
// Schedule Renovate to run during off-peak hours
9-
schedule: ['after 6am on Monday, Wednesday, Friday', 'before 10am on Monday, Wednesday, Friday'],
9+
schedule: ['after 6am and before 10am on Monday, Wednesday, Friday'],
1010

1111
prConcurrentLimit: 8,
1212
prHourlyLimit: 4,
@@ -21,7 +21,7 @@
2121

2222
lockFileMaintenance: {
2323
enabled: true,
24-
schedule: ['after 5am on Tuesday', 'before 7am on Tuesday'],
24+
schedule: ['after 5am and before 7am on Tuesday'],
2525
},
2626

2727
// Feature disabled: permission to enable vulnerability alerts is not granted
@@ -148,7 +148,7 @@
148148
'quicktype-core',
149149
'renovate',
150150
],
151-
schedule: ['after 6am on Wednesday', 'before 10am on Wednesday'],
151+
schedule: ['after 6am and before 10am on Wednesday'],
152152
},
153153

154154
// ============================================================================

0 commit comments

Comments
 (0)