Skip to content

Commit

Permalink
ci: fix renovatebot matching issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid committed Jan 21, 2025
1 parent 9558789 commit ae80ed2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/config/renovatebot/renovate-docker-compose.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
// Disable Minor and Major updates by default.
{
enabled: false,
matchFileNames: [
"docker-compose/versions/camunda-8*/.**",
"docker-compose/versions/camunda-8*/**",
],
matchFileNames: ["docker-compose/versions/**"],
matchUpdateTypes: ["minor", "major"],
},
// Disable unsupported Camunda versions.
Expand Down Expand Up @@ -72,11 +69,12 @@
customManagers: [
{
customType: "regex",
fileMatch: [".env"],
datasourceTemplate: "docker",
matchStrings: [
"# renovate: datasource=docker depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s*?(\\S+)=(?<currentValue>\\S+)",
],
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
}
},
],
}
5 changes: 4 additions & 1 deletion .github/config/renovatebot/renovate-main.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
dependencyDashboard: true,
extends: ["config:recommended", "helpers:pinGitHubActionDigests"],
labels: ["dependencies"],
separateMinorPatch: true,
minor: {
enabled: true,
},
patch: {
enabled: true,
},
Expand Down

0 comments on commit ae80ed2

Please sign in to comment.