# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
  - package-ecosystem: "gomod" # See documentation for possible values
    directory: "/" # Location of package manifests
    schedule:
      interval: "weekly"
    groups:
      dev-dependencies:
        patterns:
          - "*"
    ignore:
      - dependency-name: "github.com/openshift/api"
      - dependency-name: "github.com/openshift/client-go"
      # miss tag on v1.19.0 in 2019
      # See https://pkg.go.dev/github.com/exoscale/egoscale?tab=versions
      - dependency-name: "github.com/exoscale/egoscale"
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "monthly"
    groups:
      dev-dependencies:
        patterns:
          - "*"

  # Dependencies listed in requirements.txt
  - package-ecosystem: "pip"
    directory: "docs/scripts"
    schedule:
      interval: "monthly"
    groups:
      mkdocs-deps:
        patterns:
          - "*"
    labels:
      - python
      - dependencies
      - ok-to-test
      - release-note-none
