Skip to content

Commit cdf078c

Browse files
ruromeroclaude
andauthored
ci: suppress dependabot updates for test fixture manifests (#477)
The exclude-paths option only applies to version updates, not security updates (per GitHub docs). This caused 26+ noisy PRs from dependabot trying to bump intentionally-pinned vulnerable deps in test fixtures. Replace the broad directory: "/" entries for non-JS ecosystems with targeted directories pointing to the actual test fixture paths, paired with ignore: [{dependency-name: "*"}] to suppress both version and security update PRs. For npm, add a separate entry targeting test fixture JS directories with the same ignore rule, keeping the production root entry intact. Also adds test/providers/provider_manifests/** to the production npm exclude-paths and adds missing uv/gradle/cargo ecosystem entries. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d84439a commit cdf078c

1 file changed

Lines changed: 65 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 65 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# yaml-language-server: $schema=https://www.schemastore.org/dependabot-2.0.json
22
version: 2
33
updates:
4+
# ── Production dependencies ──────────────────────────────────────────
45
- package-ecosystem: "npm"
56
directory: "/"
67
schedule:
78
interval: "daily"
89
exclude-paths:
910
- "test/providers/tst_manifests/**"
11+
- "test/providers/provider_manifests/**"
1012
groups:
1113
npm-dependencies:
1214
patterns:
@@ -27,21 +29,72 @@ updates:
2729
github-actions:
2830
patterns:
2931
- "*"
32+
33+
# ── Test fixture manifests (suppress all updates including security) ─
34+
# These directories contain intentionally pinned dependencies used as
35+
# test fixtures. They must NOT be updated by dependabot.
36+
- package-ecosystem: "npm"
37+
directories:
38+
- "/test/providers/tst_manifests/npm/**"
39+
- "/test/providers/tst_manifests/pnpm/**"
40+
- "/test/providers/tst_manifests/yarn-berry/**"
41+
- "/test/providers/tst_manifests/yarn-classic/**"
42+
- "/test/providers/tst_manifests/js-common/**"
43+
- "/test/providers/provider_manifests/npm/**"
44+
- "/test/providers/provider_manifests/pnpm/**"
45+
- "/test/providers/provider_manifests/yarn-berry/**"
46+
- "/test/providers/provider_manifests/yarn-classic/**"
47+
schedule:
48+
interval: "monthly"
49+
labels: []
50+
ignore:
51+
- dependency-name: "*"
3052
- package-ecosystem: "pip"
31-
directory: "/"
53+
directories:
54+
- "/test/providers/tst_manifests/pip/**"
3255
schedule:
33-
interval: "weekly"
34-
exclude-paths:
35-
- "test/providers/tst_manifests/**"
56+
interval: "monthly"
57+
labels: []
58+
ignore:
59+
- dependency-name: "*"
60+
- package-ecosystem: "uv"
61+
directories:
62+
- "/test/providers/tst_manifests/pyproject/**"
63+
schedule:
64+
interval: "monthly"
65+
labels: []
66+
ignore:
67+
- dependency-name: "*"
3668
- package-ecosystem: "maven"
37-
directory: "/"
69+
directories:
70+
- "/test/providers/tst_manifests/maven/**"
3871
schedule:
39-
interval: "weekly"
40-
exclude-paths:
41-
- "test/providers/tst_manifests/**"
72+
interval: "monthly"
73+
labels: []
74+
ignore:
75+
- dependency-name: "*"
76+
- package-ecosystem: "gradle"
77+
directories:
78+
- "/test/providers/tst_manifests/gradle/**"
79+
schedule:
80+
interval: "monthly"
81+
labels: []
82+
ignore:
83+
- dependency-name: "*"
84+
- package-ecosystem: "cargo"
85+
directories:
86+
- "/test/providers/tst_manifests/cargo/**"
87+
- "/test/providers/provider_manifests/cargo/**"
88+
schedule:
89+
interval: "monthly"
90+
labels: []
91+
ignore:
92+
- dependency-name: "*"
4293
- package-ecosystem: "gomod"
43-
directory: "/"
94+
directories:
95+
- "/test/providers/tst_manifests/golang/**"
4496
schedule:
45-
interval: "weekly"
46-
exclude-paths:
47-
- "test/providers/tst_manifests/**"
97+
interval: "monthly"
98+
labels: []
99+
ignore:
100+
- dependency-name: "*"

0 commit comments

Comments
 (0)