Skip to content

ci: let Dependabot label all its pull requests #775

Closed

Description

@uniqueg

Why

Dependabot's pull requests in this repo carry Dependabot's own labels (dependencies plus an ecosystem label, for example #766-#772), 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 (6: pip, github-actions, three docker entries, helm).
  • Remove target-branch: dev from every entry (6 entries). dev is the default branch, so version updates still target it.
  • Add a comment that explains why no entry sets target-branch, so that it isn't added again.
  • Keep the ignore rules. They now also apply to security updates: the major-version holds on connexion (build: add support for Connexion 3+ #188) and gunicorn, the holds on minor and major updates of the python images and of the chart images, and the skipped example root images and foca-common. 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 v0.23.0 milestone on Nov 25, 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