Skip to content

Security updates ignoring target-branch configuration #2767

@ghost

Description

With the following dependabot.yml:

version: 2
updates:
  # Updates for JS
  - package-ecosystem: "npm"
    directory: "/client"
    schedule:
      interval: "daily"
    target-branch: "develop"

  - package-ecosystem: "npm"
    directory: "/deployment"
    schedule:
      interval: "daily"
    target-branch: "develop"

  # Updates for Java
  - package-ecosystem: "gradle"
    directory: "/api"
    schedule:
      interval: "daily"
    target-branch: "develop"

Dependabot is creating PRs against master instead of develop as seen here:
image

even within the same directory as in:

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions