Skip to content

Commit 4924c46

Browse files
authored
Attempt to stop the dependabot spam -.-
Somehow the dev-dependencies group has gone mad and keeps appearing...
1 parent 33ce0fa commit 4924c46

1 file changed

Lines changed: 22 additions & 23 deletions

File tree

.github/dependabot.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,27 @@ updates:
1414
- dependency-name: "*"
1515
update-types: ["version-update:semver-patch"]
1616

17+
# Hacky workaround to get internal updates sooner, see also https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-2354999641
18+
- package-ecosystem: "pip"
19+
target-branch: main # This is the hacky part...
20+
directory: "/"
21+
schedule:
22+
interval: "daily"
23+
labels:
24+
- "dependencies"
25+
allow:
26+
# Only match internal dependencies
27+
- dependency-name: "astar*"
28+
- dependency-name: "scopesim*"
29+
- dependency-name: "spextra"
30+
- dependency-name: "skycalc-ipy"
31+
- dependency-name: "anisocado*"
32+
cooldown:
33+
# Don't include too new versions
34+
semver-major-days: 14
35+
semver-minor-days: 7
36+
semver-patch-days: 2
37+
1738
- package-ecosystem: "pip"
1839
directory: "/"
1940
schedule:
@@ -22,7 +43,7 @@ updates:
2243
- "dependencies"
2344
allow:
2445
# Allow both direct and indirect updates for all packages.
25-
- dependency-type: "all"
46+
- dependency-type: "direct"
2647
ignore:
2748
# For all packages, ignore all patch updates, the "version-update" only targets non-security related updates
2849
- dependency-name: "*"
@@ -45,26 +66,4 @@ updates:
4566
applies-to: version-updates
4667
dependency-type: "development"
4768
update-types:
48-
- "major"
4969
- "minor"
50-
51-
# Hacky workaround to get internal updates sooner, see also https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-2354999641
52-
- package-ecosystem: "pip"
53-
target-branch: main # This is the hacky part...
54-
directory: "/"
55-
schedule:
56-
interval: "daily"
57-
labels:
58-
- "dependencies"
59-
allow:
60-
# Only match internal dependencies
61-
- dependency-name: "astar*"
62-
- dependency-name: "scopesim*"
63-
- dependency-name: "spextra"
64-
- dependency-name: "skycalc-ipy"
65-
- dependency-name: "anisocado*"
66-
cooldown:
67-
# Don't include too new versions
68-
semver-major-days: 14
69-
semver-minor-days: 7
70-
semver-patch-days: 2

0 commit comments

Comments
 (0)