# 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:
  - package-ecosystem: "composer" # See documentation for possible values
    directory: "/" # Location of package manifests
    allow:
      # Allow both direct and indirect updates for all packages
      - dependency-type: "all"
    schedule:
      interval: "daily"
    ignore:
      - dependency-name: "symfony/*"
        update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
    groups:
      dev-dependencies:
        dependency-type: "development"
      symfony:
        patterns:
          - "symfony/*"
      twig:
        patterns:
          - "twig/*"
  - package-ecosystem: "docker"
    directory: "/"
    schedule:
      interval: "daily"
