Skip to content

Commit

Permalink
[chore] remove deprecated regexMatcher from renovate config (#399)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT authored Dec 6, 2024
1 parent c40dc88 commit 6c2db4b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"packageRules": [
{
"matchPackagePatterns": ["^(go\\.opentelemetry\\.io/collector|github\\.com/open-telemetry/opentelemetry-collector-contrib)"],
"matchPackagePatterns": ["^(go\\.opentelemetry\\.io\/collector|github\\.com\/open-telemetry\/opentelemetry-collector-contrib)\/"],
"matchPackageNames": ["open-telemetry/opentelemetry-collector-contrib"],
"groupName": "OpenTelemetry Collector"
},
Expand All @@ -39,13 +39,16 @@
"matchStrings": [
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)\\s.*(:|=|\\?=|:=|\\+=) ?\\\"?(?<currentValue>.+?)?\\\"?\\s"
]
},
{
"customType": "regex",
"fileMatch": [
"^manifest.yaml$"
],
"datasourceTemplate": "go",
"matchStrings": [
"- gomod: (?<depName>(go\\.opentelemetry\\.io\/collector|github\\.com\/open-telemetry\/opentelemetry-collector-contrib|github\\.com\/dynatrace\/dynatrace-otel-collector)\/([A-Za-z0-9]+\/)*[A-Za-z0-9]+) (?<currentValue>v\\d+\\.\\d+\\.\\d+)\\n"
]
}
],
"regexManagers": [
{
"fileMatch": ["^manifest.yaml$"],
"matchStrings": ["- gomod: (?<depName>(go\\.opentelemetry\\.io\/collector|github\\.com\/open-telemetry\/opentelemetry-collector-contrib|github\\.com\/dynatrace\/dynatrace-otel-collector)\/([A-Za-z0-9]+\/)*[A-Za-z0-9]+) (?<currentValue>v\\d+\\.\\d+\\.\\d+)\\n"],
"datasourceTemplate": "github-releases"
}
]
}

0 comments on commit 6c2db4b

Please sign in to comment.