Skip to content

Commit

Permalink
Merge pull request #9243 from camptocamp/c2cciutils-upgrade
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Oct 13, 2023
2 parents 5100885 + 3c68aa3 commit 0670d68
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
extends: ['config:base'],
'extends': ['config:base'],
semanticCommits: 'disabled',
timezone: 'Europe/Zurich',
schedule: 'after 5pm on the first day of the month',
Expand All @@ -12,6 +12,7 @@
baseBranches: ['master', '2.7', '2.8'],
'pre-commit': {enabled: true},
regexManagers: [
/** Do updates on pre-commit additional dependencies */
{
fileMatch: ['^\\.pre\\-commit\\-config\\.yaml$'],
matchStrings: [" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)"],
Expand All @@ -26,26 +27,28 @@
depNameTemplate: 'node',
datasourceTemplate: 'node',
},
/** Do update on the schema present in the ci/config.yaml */
{
'fileMatch': ['^ci/config\\.yaml$'],
'matchStrings': [
fileMatch: ['^ci/config\\.yaml$'],
matchStrings: [
'.*https://raw\\.githubusercontent\\.com/(?<depName>[^\\s]+)/(?<currentValue>[0-9\\.]+)/.*',
],
'datasourceTemplate': 'github-tags',
datasourceTemplate: 'github-tags',
},
],
packageRules: [
/** Automerge the patch, the minor and the dev dependency */
/** Auto merge the dev dependency update */
{
matchDepTypes: ['devDependencies'],
automerge: true,
},
/** Group the patch and the minor */
/** Group and auto merge the patch updates */
{
matchUpdateTypes: ['patch'],
groupName: 'all patch versions',
automerge: true,
},
/** Group and auto merge the minor updates */
{
matchUpdateTypes: ['minor'],
groupName: 'all minor versions',
Expand All @@ -55,15 +58,16 @@
matchUpdateTypes: ['major'],
enabled: false,
},
/** Accept only the patch on the stabilization branches */
/** Accept only the patch on stabilization branches */
{
matchBaseBranches: ['/2\\..*/'],
matchBaseBranches: ['/^[0-9]+\\.[0-9]+$/'],
matchUpdateTypes: ['major', 'minor', 'pin', 'digest', 'lockFileMaintenance', 'rollback', 'bump'],
enabled: false,
},
/** Support the 4 parts of shellcheck-py version with a v prefix */
{
'matchPackageNames': ['shellcheck-py/shellcheck-py'],
'versioning': 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
matchPackageNames: ['shellcheck-py/shellcheck-py'],
versioning: 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
},
],
}

0 comments on commit 0670d68

Please sign in to comment.