# 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://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
    # Enable version updates for NuGet
    - package-ecosystem: "nuget"
      directory: "/"
      target-branch: "main"
      open-pull-requests-limit: 10
      labels:
          - "dependencies"
      # Check for updates once a week
      schedule:
          day: "monday"
          time: "09:00"
          interval: "weekly"
        # Ignore certain dependencies (optional)
        # ignore:
        #   - dependency-name: "SomePackage"
        #     versions: ["4.x", "5.x"]

    # Enable version updates for npm
    - package-ecosystem: "npm"
      # Look for `package.json` and `lock` files in the `root` directory
      directory: "/"
      # Check for updates once a week
      schedule:
          day: "monday"
          time: "09:00"
          interval: "weekly"

    # Enable version updates for Docker
    - package-ecosystem: "docker"
      # Look for a `Dockerfile` in the `root` directory
      directory: "/"
      # Check for updates once a week
      schedule:
          day: "monday"
          time: "09:00"
          interval: "weekly"

    # Enable version updates for Composer
    - package-ecosystem: "composer"
      # Look for a `Dockerfile` in the `root` directory
      directory: "/"
      # Check for updates once a week
      schedule:
          day: "monday"
          time: "09:00"
          interval: "weekly"
