Skip to content

Commit

Permalink
Try to reorder the rules to make the dpkg one working
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed May 21, 2023
1 parent c4c18d9 commit 8e06e86
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,31 @@
'pre-commit': { enabled: true },
regexManagers: [
{
fileMatch: ['^.pre-commit-config.yaml$'],
fileMatch: ['^\\.pre-commit-config\\.yaml$'],
matchStrings: [" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)"],
},
{
fileMatch: ['^c2cciutils/applications-versions.yaml$'],
fileMatch: ['^c2cciutils/applications-versions\\.yaml$'],
matchStrings: [
'(?<depName>[^\\s]+): (?<currentValue>[^\\s]+) # (?<datasource>[^\\s]+) - (?<registryUrl>[^\\s]+)',
'(?<depName>[^\\s]+): (?<currentValue>[^\\s]+) # (?<datasource>[^h\\s][^\\s]+)',
],
},
{
fileMatch: ['^ci/dpkg-versions.yaml$'],
fileMatch: ['^ci/dpkg-versions\\.yaml$'],
matchStrings: [" *(?<depName>[^'\\s]+): '?(?<currentValue>[^'\\s/]*[0-9][^'\\s/]*)'?"],
datasourceTemplate: 'repology',
versioningTemplate: 'loose',
},
],
packageRules: [
/** Update dpkg versions every day */
{
matchPaths: ['^ci/dpkg-versions\\.yaml$'],
schedule: ['at any time'],
groupName: 'dpkg',
automerge: true,
},
/** Automerge the patch, the minor and the dev dependency */
{
matchBaseBranches: ['master'],
Expand Down Expand Up @@ -73,12 +80,5 @@
matchPackageNames: ['codespell'],
groupName: 'codespell',
},
/** Update dpkg versions every day */
{
matchPaths: ['^ci/dpkg-versions.yaml$'],
schedule: ['at any time'],
groupName: 'dpkg',
automerge: true,
},
],
}

0 comments on commit 8e06e86

Please sign in to comment.