version: 2
updates:
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
      day: "sunday"
    target-branch: "develop"
    ignore:
      - dependency-name: "*"
        update-types: ["version-update:semver-patch"]
    cooldown:
      default-days: 7

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
      day: "sunday"
    target-branch: "gh-pages"
    ignore:
      - dependency-name: "*"
        update-types: ["version-update:semver-patch"]
    cooldown:
      default-days: 7

  - package-ecosystem: "pip"
    directory: "/"
    open-pull-requests-limit: 10
    schedule:
      interval: "daily"
    target-branch: "v2"
    labels:
      - "dependencies"
      - "v2"
    allow:
      - dependency-name: "PyInstaller"
      - dependency-name: "flit_core"
      - dependency-name: "colorama"
      - dependency-name: "docutils"
      - dependency-name: "cryptography"
      - dependency-name: "awscrt"
      - dependency-name: "ruamel.yaml"
      - dependency-name: "ruamel.yaml.clib"
      - dependency-name: "prompt-toolkit"
      - dependency-name: "distro"
      - dependency-name: "python-dateutil"
      - dependency-name: "jmespath"
      - dependency-name: "urllib3"
      - dependency-name: "wheel"
    cooldown:
      default-days: 7

  - package-ecosystem: "pip"
    directory: "/"
    open-pull-requests-limit: 10
    schedule:
      interval: "weekly"
      day: "sunday"
    target-branch: "develop"
    labels:
      - "dependencies"
      - "v1"
    allow:
      - dependency-name: "colorama"
      - dependency-name: "docutils"
      - dependency-name: "pyyaml"
      - dependency-name: "wheel"
      - dependency-name: "rsa"
    cooldown:
      default-days: 7

  - package-ecosystem: "pip"
    directory: "/"
    open-pull-requests-limit: 10
    schedule:
      interval: "weekly"
      day: "sunday"
    target-branch: "gh-pages"
    labels:
      - "dependencies"
      - "gh-pages"
    allow:
      - dependency-name: "Sphinx"
      - dependency-name: "furo"
      - dependency-name: "myst-parser"
      - dependency-name: "sphinx-lint" 
      - dependency-name: "sphinx-copybutton"
      - dependency-name: "sphinx-inline-tabs"
    cooldown:
      default-days: 7
