From 97e1e5ce153d56f1461892f57c1da02860073e53 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Fri, 16 Oct 2026 18:35:48 +0000 Subject: [PATCH] chore: stop Dependabot adding major, minor or patch labels Set each ecosystem's labels explicitly (dependencies plus the ecosystem). Left to its defaults, Dependabot also applies a semver label whenever the repository has one, which release-drafter then reads as a version bump. --- .github/dependabot.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 069b4ef..be9d6e7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,7 +2,9 @@ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file # # Same shape in every commit-check repository: monthly, one grouped pull -# request per ecosystem, `chore(deps)` commit subjects. +# request per ecosystem, `chore(deps)` commit subjects. Labels are set +# explicitly: left to its defaults, Dependabot also adds a major, minor or +# patch label whenever the repository has one. version: 2 updates: @@ -13,6 +15,9 @@ updates: commit-message: prefix: chore include: scope + labels: + - dependencies + - github_actions groups: github-actions: patterns: