Repository navigation
Description
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 everyupdatesentry (6: pip, github-actions, three docker entries, helm). - Remove
target-branch: devfrom every entry (6 entries).devis 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
ignorerules. They now also apply to security updates: the major-version holds onconnexion(build: add support for Connexion 3+ #188) andgunicorn, the holds on minor and major updates of thepythonimages and of the chart images, and the skipped example root images andfoca-common. 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