version: 2
updates:
  - target-branch: "main"
    package-ecosystem: "npm"
    versioning-strategy: "lockfile-only"
    directories: ["/", "/tools/conventional-changelog-tf-a"]
    schedule:
      interval: "daily"
    groups:
      dev-deps:
        patterns: ["*"]
        update-types: ["minor", "patch"]

  - target-branch: "lts-v2.10"
    package-ecosystem: "npm"
    versioning-strategy: "lockfile-only"
    directories: ["/", "/tools/conventional-changelog-tf-a"]
    schedule:
      interval: "daily"
    groups:
      dev-deps:
        patterns: ["*"]
        update-types: ["patch"]

  - target-branch: "lts-v2.8"
    package-ecosystem: "npm"
    versioning-strategy: "lockfile-only"
    directories: ["/", "/tools/conventional-changelog-tf-a"]
    schedule:
      interval: "daily"
    groups:
      dev-deps:
        patterns: ["*"]
        update-types: ["patch"]

  - target-branch: "main"
    package-ecosystem: "pip"
    versioning-strategy: "lockfile-only"
    directories: ["/", "/tools/cot_dt2c", "/tools/memory", "/tools/tlc"]
    schedule:
      interval: "daily"
    groups:
      dev-deps:
        patterns: ["*"]
        update-types: ["minor", "patch"]

  - target-branch: "lts-v2.10"
    package-ecosystem: "pip"
    versioning-strategy: "lockfile-only"
    directories: ["/"]
    schedule:
      interval: "daily"
    groups:
      dev-deps:
        patterns: ["*"]
        update-types: ["patch"]

  - target-branch: "lts-v2.8"
    package-ecosystem: "pip"
    versioning-strategy: "lockfile-only"
    directories: ["/"]
    schedule:
      interval: "daily"
    groups:
      dev-deps:
        patterns: ["*"]
        update-types: ["patch"]
