Skip to content

Commit

Permalink
Automate otel via renovate (#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriisoldatenko committed Jul 10, 2024
1 parent 4f1e393 commit 85a60f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
],
datasourceTemplate: "go",
},
{
fileMatch: [
"(^|/|\\.)otel.go$",
],
matchStrings: [
"depName=(?<depName>.*?)\\s.*go.opentelemetry.io\\/otel\\/semconv\\/v(?<currentValue>.*)\\\"",
],
datasourceTemplate: "go",
},
],
packageRules: [
{
Expand Down
1 change: 1 addition & 0 deletions pkg/util/dtotel/otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/sdk/resource"
// renovate depName=go.opentelemetry.io/otel/semconv
semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
"go.opentelemetry.io/otel/trace"
"k8s.io/apimachinery/pkg/types"
Expand Down

0 comments on commit 85a60f5

Please sign in to comment.