Skip to content

Commit a431f39

Browse files
ruromeroclaude
andcommitted
chore: exclude test fixture manifests from Dependabot
The src/test/resources/tst_manifests/ directory contains intentionally pinned (and sometimes vulnerable) dependencies used as test data. Dependabot was raising version and security update PRs for these fixtures, which should never be upgraded automatically. Add ecosystem entries for npm, pip, gomod, gradle, and cargo with exclude-paths covering src/test/** and open-pull-requests-limit: 0 so Dependabot skips those manifests entirely for version updates. Note: exclude-paths does not apply to Dependabot security updates. Security update PRs for test fixtures must be closed manually and their alerts dismissed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cf45396 commit a431f39

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,41 @@ updates:
1010
directory: "/"
1111
schedule:
1212
interval: "weekly"
13+
# Prevent Dependabot from scanning test fixture manifests.
14+
# These contain intentionally pinned (and sometimes vulnerable)
15+
# dependencies used as test data for the dependency-analysis client.
16+
- package-ecosystem: "npm"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
exclude-paths:
21+
- "src/test/**"
22+
open-pull-requests-limit: 0
23+
- package-ecosystem: "pip"
24+
directory: "/"
25+
schedule:
26+
interval: "weekly"
27+
exclude-paths:
28+
- "src/test/**"
29+
open-pull-requests-limit: 0
30+
- package-ecosystem: "gomod"
31+
directory: "/"
32+
schedule:
33+
interval: "weekly"
34+
exclude-paths:
35+
- "src/test/**"
36+
open-pull-requests-limit: 0
37+
- package-ecosystem: "gradle"
38+
directory: "/"
39+
schedule:
40+
interval: "weekly"
41+
exclude-paths:
42+
- "src/test/**"
43+
open-pull-requests-limit: 0
44+
- package-ecosystem: "cargo"
45+
directory: "/"
46+
schedule:
47+
interval: "weekly"
48+
exclude-paths:
49+
- "src/test/**"
50+
open-pull-requests-limit: 0

0 commit comments

Comments
 (0)