|
1 | 1 | { |
2 | 2 | extends: ['config:base'], |
3 | 3 | timezone: 'Europe/Zurich', |
4 | | - schedule: 'after 1am on Saturday', |
| 4 | + schedule: 'after 5pm on the first day of the month', |
5 | 5 | labels: ['dependencies'], |
6 | 6 | separateMajorMinor: true, |
7 | 7 | separateMinorPatch: true, |
8 | 8 | prHourlyLimit: 0, |
9 | 9 | prConcurrentLimit: 0, |
10 | | - lockFileMaintenance: { enabled: true, automerge: true }, |
| 10 | + lockFileMaintenance: { |
| 11 | + enabled: true, |
| 12 | + automerge: true, |
| 13 | + schedule: 'after 5pm on the first day of the month', |
| 14 | + }, |
| 15 | + baseBranches: ['master', 'test'], |
| 16 | + 'pre-commit': { enabled: true }, |
| 17 | + regexManagers: [ |
| 18 | + { |
| 19 | + fileMatch: ['^.pre-commit-config.yaml'], |
| 20 | + matchStrings: [" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)"], |
| 21 | + }, |
| 22 | + ], |
11 | 23 | packageRules: [ |
12 | 24 | /** Automerge the patch, the minor and the dev dependency */ |
13 | 25 | { |
|
37 | 49 | }, |
38 | 50 | /** Group Poetry packages */ |
39 | 51 | { |
40 | | - matchPackageNames: ['poetry', 'poetry-core'], |
| 52 | + matchPackageNames: ['poetry', 'pip'], |
| 53 | + matchPackagePrefixes: ['poetry-'], |
41 | 54 | groupName: 'Poetry', |
42 | 55 | automerge: true, |
43 | 56 | separateMajorMinor: false, |
|
49 | 62 | matchPackageNames: ['c2cciutils'], |
50 | 63 | enabled: false, |
51 | 64 | }, |
| 65 | + /** Accept only the patch on stabilization branches */ |
| 66 | + { |
| 67 | + matchBaseBranches: ['master'], |
| 68 | + matchUpdateTypes: ['major', 'minor', 'pin', 'digest', 'lockFileMaintenance', 'rollback', 'bump'], |
| 69 | + enabled: false, |
| 70 | + }, |
52 | 71 | ], |
53 | 72 | } |
0 commit comments