|
| 1 | +{ |
| 2 | + extends: ['config:base'], |
| 3 | + timezone: 'Europe/Zurich', |
| 4 | + schedule: 'after 5pm on the first day of the month', |
| 5 | + labels: ['dependencies'], |
| 6 | + separateMajorMinor: true, |
| 7 | + separateMinorPatch: true, |
| 8 | + prHourlyLimit: 0, |
| 9 | + prConcurrentLimit: 0, |
| 10 | + lockFileMaintenance: { |
| 11 | + enabled: true, |
| 12 | + automerge: true, |
| 13 | + schedule: 'after 5pm on the first day of the month', |
| 14 | + }, |
| 15 | + kubernetes: { |
| 16 | + fileMatch: ['templates/.+\\.yaml$', 'tests/.*expected\\.yaml$'], |
| 17 | + }, |
| 18 | + 'pre-commit': { enabled: true }, |
| 19 | + regexManagers: [ |
| 20 | + /** Do updates on pre-commit additional dependencies */ |
| 21 | + { |
| 22 | + fileMatch: ['^\\.pre\\-commit\\-config\\.yaml$'], |
| 23 | + matchStrings: [" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)"], |
| 24 | + }, |
| 25 | + /** Do update on the schema present in the ci/config.yaml */ |
| 26 | + { |
| 27 | + fileMatch: ['^ci/config\\.yaml$'], |
| 28 | + matchStrings: [ |
| 29 | + '.*https://raw\\.githubusercontent\\.com/(?<depName>[^\\s]+)/(?<currentValue>[0-9\\.]+)/.*', |
| 30 | + ], |
| 31 | + datasourceTemplate: 'github-tags', |
| 32 | + }, |
| 33 | + ], |
| 34 | + packageRules: [ |
| 35 | + /** Auto merge the dev dependency update */ |
| 36 | + { |
| 37 | + matchDepTypes: ['devDependencies'], |
| 38 | + automerge: true, |
| 39 | + }, |
| 40 | + /** Group and auto merge the patch updates */ |
| 41 | + { |
| 42 | + matchUpdateTypes: ['patch'], |
| 43 | + groupName: 'all patch versions', |
| 44 | + automerge: true, |
| 45 | + }, |
| 46 | + /** Group and auto merge the minor updates */ |
| 47 | + { |
| 48 | + matchUpdateTypes: ['minor'], |
| 49 | + groupName: 'all minor versions', |
| 50 | + automerge: true, |
| 51 | + }, |
| 52 | + /** Support the 4 parts of shellcheck-py version with a v prefix */ |
| 53 | + { |
| 54 | + versioning: 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$', |
| 55 | + matchDepNames: ['shellcheck-py/shellcheck-py'], |
| 56 | + }, |
| 57 | + /** Group and auto merge the CI dependencies */ |
| 58 | + { |
| 59 | + matchFileNames: ['.github/**', '.pre-commit-config.yaml', 'ci/**'], |
| 60 | + groupName: 'CI dependencies', |
| 61 | + automerge: true, |
| 62 | + }, |
| 63 | + ], |
| 64 | +} |
0 commit comments