Skip to content

Commit 50224ba

Browse files
committed
ci: add dependabot.yml to exclude test fixture directories
Dependabot was auto-discovering all package.json and pyproject.toml files including 12 in code_to_optimize/ (test fixtures). These PRs always fail because E2E tests need secrets unavailable on Dependabot PRs — 70% of Dependabot runs were failing on vite updates to fixtures. Explicit config monitors only the real dependency files: - / (root pyproject.toml) - /packages/codeflash (npm package) - GitHub Actions versions
1 parent bd051ff commit 50224ba

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
# Python (root pyproject.toml)
4+
- package-ecosystem: "pip"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
9+
# JavaScript (codeflash npm package)
10+
- package-ecosystem: "npm"
11+
directory: "/packages/codeflash"
12+
schedule:
13+
interval: "weekly"
14+
15+
# GitHub Actions
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
21+
# code_to_optimize/ directories are test fixtures — do NOT update them.
22+
# Dependabot PRs for these always fail (missing secrets) and waste CI.

0 commit comments

Comments
 (0)