Skip to content

Commit 9956571

Browse files
committed
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.
1 parent 3ab602c commit 9956571

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎.github/dependabot.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
33
#
44
# Same shape in every commit-check repository: monthly, one grouped pull
5-
# request per ecosystem, `chore(deps)` commit subjects. The one exception is
5+
# request per ecosystem, `chore(deps)` commit subjects. Labels are set
6+
# explicitly: left to its defaults, Dependabot also adds a major, minor or
7+
# patch label whenever the repository has one. The one exception to monthly is
68
# pip here, which stays daily with no cooldown: requirements.txt pins the
79
# commit-check release this action ships, and a new release should reach the
810
# action the day it is published.
@@ -16,6 +18,9 @@ updates:
1618
commit-message:
1719
prefix: chore
1820
include: scope
21+
labels:
22+
- dependencies
23+
- github_actions
1924
groups:
2025
github-actions:
2126
patterns:
@@ -30,3 +35,6 @@ updates:
3035
commit-message:
3136
prefix: chore
3237
include: scope
38+
labels:
39+
- dependencies
40+
- python

0 commit comments

Comments
 (0)