# 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/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
  - package-ecosystem: "github-actions"
    directory: "/"
    # Delay fresh releases so supply-chain attacks have time to be discovered.
    cooldown:
      default-days: 7
    groups:
      github-actions:
        patterns:
          - "*"
    schedule:
      interval: "weekly"
  - package-ecosystem: "cargo" # See documentation for possible values
    directory: "/" # Location of package manifests
    versioning-strategy: "increase-if-necessary"
    # Delay fresh releases so supply-chain attacks have time to be discovered.
    cooldown:
      default-days: 7
    groups:
      cargo-dependencies:
        patterns:
          - "*"
    schedule:
      interval: "weekly"
