Repository navigation
Description
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 everyupdatesentry (4: maven, github-actions, docker, pip). - Remove
target-branch: devfrom every entry (4 entries).devis the default branch, so version updates still target it. - Update the header comment that explains
target-branch. - Keep the
ignorerules. 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), theopenapi-generator-maven-pluginhold below 7 and theeclipse-temurinmajor hold. That's intended.
Acceptance criteria
- No entry (or group) of
.github/dependabot.ymlsetstarget-branch. - Every
updatesentry setslabels: ["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).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity