version: 2

updates:
  - package-ecosystem: "gomod"
    directory: "/"
    groups:
      aws:
        patterns:
          - "github.com/aws/*"
      otel:
        patterns:
          - "go.opentelemetry.io/*"
    open-pull-requests-limit: 1
    schedule:
      interval: "weekly"
      day: "wednesday"
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule: 
      interval: monthly
    open-pull-requests-limit: 1
