version: 2
updates:
  # github-actions
  - package-ecosystem: 'github-actions'
    directory: '/'
    schedule:
      interval: 'weekly'
    target-branch: '3.x'
  # npm
  - package-ecosystem: 'npm'
    directory: '/'
    schedule:
      interval: 'weekly'
    target-branch: '3.x'
    ignore:
      - dependency-name: 'escape-string-regexp'
        versions: ['>=5.0']
