Skip to content

ci: let Dependabot label all its pull requests #180

Closed

Description

@uniqueg

Why

Dependabot's pull requests in this repo carry Dependabot's own labels (dependencies plus an ecosystem label, for example #171-#173), which aren't part of the organisation's label set (labels/labels.yml in elixir-cloud-aai/.github). .github/dependabot.yml sets no labels, and Dependabot creates its labels again whenever they're missing.

Adding labels alone isn't enough: every entry sets target-branch: dev, and while it is set, security update pull requests ignore the entry's options. "Options defined for this package-ecosystem no longer apply to security updates" (Dependabot options reference, target-branch), even when target-branch names the default branch.

How

In .github/dependabot.yml:

  • Add labels: ["type: dependencies"] to every updates entry (4: maven, github-actions, docker, pip).
  • Remove target-branch: dev from every entry (4 entries). dev is the default branch, so version updates still target it.
  • Update the header comment that explains target-branch.
  • Keep the ignore rules. They now also apply to security updates: the Spring Boot 3 hold-backs (build: move to Spring Boot 4 #66, build: hold back major updates until Spring Boot 3 #91), the openapi-generator-maven-plugin hold below 7 and the eclipse-temurin major hold. That's intended.

Acceptance criteria

  • No entry (or group) of .github/dependabot.yml sets target-branch.
  • Every updates entry sets labels: ["type: dependencies"].
  • Nothing else in the file changes, apart from the comment.
  • Dependabot pull requests opened afterwards, security updates included, carry only type: dependencies.

Once this is merged, Dependabot's stray label definitions in this repo can be deleted (org label alignment, 2026-11-14).

Activity

  1. self-assigned this
    on Nov 14, 2026
  2. added
    priority: low
    status: in progress
    type: ci / cd
    workload: minutes
    on Nov 14, 2026
  3. moved this to In progress in ELIXIR On-Cloudon Nov 14, 2026
  4. moved this from In progress to Done in ELIXIR On-Cloudon Nov 14, 2026
  5. removed
    status: in progress
    on Nov 14, 2026
  6. added this to the v2.0.0 milestone on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: lowtype: ci / cdworkload: minutes

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions