---
version: 2
updates:

  - package-ecosystem: "pip"
    directory: "/"
    schedule:
      interval: "weekly"
      day: "monday"
      time: "18:00"
    commit-message:
      prefix: "build"
      include: "scope"
    labels:
      - dependencies
      - dependabot
    open-pull-requests-limit: 10
    rebase-strategy: auto
    versioning-strategy: "increase-if-necessary"

  # Maintain dependencies for Docker (ie our GitHub Action)
  - package-ecosystem: "docker"
    directory: "src/gh_action"
    schedule:
      interval: "monthly"
    labels:
      - dependencies
      - dependabot
    rebase-strategy: auto
    commit-message:
      prefix: "build"
      include: "scope" # (deps)

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
      day: "monday"
      time: "18:00"
    commit-message:
      prefix: "ci"
    labels:
      - dependencies
      - dependabot
    rebase-strategy: auto
    groups:
      github-actions:
        patterns:
        - "*"
