Skip to content

Commit 89805a5

Browse files
committed
ci: add .github/dependabot.yml to tame Dependabot PR noise
The repo had no explicit Dependabot config, so Dependabot ran on full defaults: one PR per package per manifest, across every manifest in the tree -- including the e2e test fixtures that are intentionally crafted to exercise Socket's scanner. The cumulative result was the "PR pileup" this PR is consolidating. New config: - uv ecosystem (main app): grouped weekly into ONE minor/patch PR and one major PR; matches the existing python:uv labeling - github-actions: grouped weekly into ONE minor/patch PR - docker: separate weekly PR per Dockerfile change - 7-day cooldown across all ecosystems to give upstream time to pull bad releases - e2e fixtures (tests/e2e/fixtures/{simple-npm,simple-pypi}) are INTENTIONALLY excluded -- their pins should be chosen for supply- chain signal, not auto-bumped (this is why we had three fixture PRs in the cleanup) Pattern adapted from SocketDev/socket-basics. Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>
1 parent 14e5605 commit 89805a5

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Dependabot configuration for socket-python-cli.
2+
#
3+
# Design notes:
4+
# - Python deps are grouped into a weekly PR (minor/patch).
5+
# - GitHub Actions are grouped similarly into one weekly PR.
6+
# - Docker (the project Dockerfile) is tracked separately.
7+
# - 7-day cooldown enforced across all ecosystems.
8+
9+
version: 2
10+
updates:
11+
12+
# Main app Python deps (uv-tracked)
13+
- package-ecosystem: "uv"
14+
directory: "/"
15+
schedule:
16+
interval: "weekly"
17+
open-pull-requests-limit: 2
18+
groups:
19+
python-minor-patch:
20+
patterns:
21+
- "*"
22+
update-types:
23+
- "minor"
24+
- "patch"
25+
python-major:
26+
patterns:
27+
- "*"
28+
update-types:
29+
- "major"
30+
labels:
31+
- "dependencies"
32+
- "python:uv"
33+
commit-message:
34+
prefix: "chore"
35+
include: "scope"
36+
cooldown:
37+
default-days: 7
38+
39+
# GitHub Actions used in workflows
40+
- package-ecosystem: "github-actions"
41+
directory: "/"
42+
schedule:
43+
interval: "weekly"
44+
open-pull-requests-limit: 2
45+
groups:
46+
github-actions-minor-patch:
47+
patterns:
48+
- "*"
49+
update-types:
50+
- "minor"
51+
- "patch"
52+
labels:
53+
- "dependencies"
54+
- "github-actions"
55+
commit-message:
56+
prefix: "ci"
57+
include: "scope"
58+
cooldown:
59+
default-days: 7
60+
61+
# Project Dockerfile base images and pinned binaries
62+
- package-ecosystem: "docker"
63+
directory: "/"
64+
schedule:
65+
interval: "weekly"
66+
open-pull-requests-limit: 2
67+
labels:
68+
- "dependencies"
69+
- "docker"
70+
commit-message:
71+
prefix: "chore"
72+
include: "scope"
73+
cooldown:
74+
default-days: 7

0 commit comments

Comments
 (0)