Skip to content

Commit f705855

Browse files
TalZaccaiCopilot
andcommitted
ci(dependabot): bundle all routine updates into one PR per ecosystem
Previous revision of this branch set open-pull-requests-limit: 0 to disable all routine version-update PRs. Per follow-up review we want a single weekly grouped PR per ecosystem covering majors + minors + patches instead -- easier to review at a glance than many small PRs. - Drop open-pull-requests-limit: 0 (let routine PRs flow again) - Add npm-all / pip-all / devcontainers-all / github-actions-all groups matching every package and every update-type (major, minor, patch) -- collapses everything into one PR per ecosystem per weekly run. - Keep the security-updates groups as separate PRs so security work isn't buried in routine churn. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 292b9cd commit f705855

1 file changed

Lines changed: 74 additions & 64 deletions

File tree

.github/dependabot.yml

Lines changed: 74 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,74 @@
1-
# Dependabot configuration for microsoft/TypeChat.
2-
#
3-
# Security-only mode: we want Dependabot alerts (security updates) to flow,
4-
# but NOT routine weekly version-update PRs. Setting
5-
# open-pull-requests-limit: 0 on each ecosystem block disables version
6-
# updates while keeping the ecosystem registered so security-update PRs
7-
# can still be opened automatically when an alert fires.
8-
#
9-
# Routine non-security upgrades are handled out-of-band (manually or by
10-
# a separate workflow); this file's role is to keep the security pipe
11-
# unblocked without flooding the repo with churn.
12-
#
13-
# Docs: https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
14-
15-
version: 2
16-
updates:
17-
# npm — typescript library + examples + docs site.
18-
- package-ecosystem: "npm"
19-
directories:
20-
- "/typescript"
21-
- "/typescript/examples/*"
22-
- "/site"
23-
schedule:
24-
interval: "weekly"
25-
day: "monday"
26-
open-pull-requests-limit: 0
27-
labels:
28-
- "dependencies"
29-
groups:
30-
npm-security:
31-
applies-to: security-updates
32-
patterns: ["*"]
33-
update-types: ["minor", "patch"]
34-
35-
- package-ecosystem: "pip"
36-
directory: "/python"
37-
schedule:
38-
interval: "weekly"
39-
day: "monday"
40-
open-pull-requests-limit: 0
41-
labels:
42-
- "dependencies"
43-
groups:
44-
pip-security:
45-
applies-to: security-updates
46-
patterns: ["*"]
47-
update-types: ["minor", "patch"]
48-
49-
- package-ecosystem: "devcontainers"
50-
directory: "/"
51-
schedule:
52-
interval: weekly
53-
open-pull-requests-limit: 0
54-
55-
- package-ecosystem: "github-actions"
56-
directory: "/"
57-
schedule:
58-
interval: weekly
59-
open-pull-requests-limit: 0
60-
groups:
61-
github-actions-security:
62-
applies-to: security-updates
63-
patterns: ["*"]
64-
update-types: ["minor", "patch"]
1+
# Dependabot configuration for microsoft/TypeChat.
2+
#
3+
# Single-PR-per-ecosystem mode: every routine version bump (major, minor,
4+
# patch) is bundled into ONE grouped PR per ecosystem per weekly run.
5+
# Security updates ship as their own grouped PR so they aren't buried
6+
# under routine churn.
7+
#
8+
# Tradeoff: one large PR is easier to review at a glance than many small
9+
# ones, but if it fails CI the cause is harder to bisect because the
10+
# compounded breaking changes (e.g. dotenv 16->17 + sqlite3 5->6) all
11+
# land at once. If a routine PR keeps failing, drop the offending
12+
# package(s) from the PR's commit list and let it land without them.
13+
#
14+
# Docs: https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
15+
16+
version: 2
17+
updates:
18+
# npm — typescript library + examples + docs site.
19+
- package-ecosystem: "npm"
20+
directories:
21+
- "/typescript"
22+
- "/typescript/examples/*"
23+
- "/site"
24+
schedule:
25+
interval: "weekly"
26+
day: "monday"
27+
labels:
28+
- "dependencies"
29+
groups:
30+
npm-all:
31+
patterns: ["*"]
32+
update-types: ["major", "minor", "patch"]
33+
npm-security:
34+
applies-to: security-updates
35+
patterns: ["*"]
36+
update-types: ["minor", "patch"]
37+
38+
- package-ecosystem: "pip"
39+
directory: "/python"
40+
schedule:
41+
interval: "weekly"
42+
day: "monday"
43+
labels:
44+
- "dependencies"
45+
groups:
46+
pip-all:
47+
patterns: ["*"]
48+
update-types: ["major", "minor", "patch"]
49+
pip-security:
50+
applies-to: security-updates
51+
patterns: ["*"]
52+
update-types: ["minor", "patch"]
53+
54+
- package-ecosystem: "devcontainers"
55+
directory: "/"
56+
schedule:
57+
interval: weekly
58+
groups:
59+
devcontainers-all:
60+
patterns: ["*"]
61+
update-types: ["major", "minor", "patch"]
62+
63+
- package-ecosystem: "github-actions"
64+
directory: "/"
65+
schedule:
66+
interval: weekly
67+
groups:
68+
github-actions-all:
69+
patterns: ["*"]
70+
update-types: ["major", "minor", "patch"]
71+
github-actions-security:
72+
applies-to: security-updates
73+
patterns: ["*"]
74+
update-types: ["minor", "patch"]

0 commit comments

Comments
 (0)