1 # .github/dependabot.yml
2 # Root/docs: security-updates ONLY. `open-pull-requests-limit: 0` disables routine version
3 # bumps; alert-driven security PRs still flow (they ignore this limit) and are
4 # grouped into a single PR per ecosystem. Actions also allow two reviewed routine
5 # update PRs. Requires "Dependabot security updates"
6 # enabled in Settings. This file does NOT change which alerts are raised —
7 # alert noise is handled by auto-triage rules + the triage script.
8 version: 2
9 updates:
10 # Root workspace lockfile — the tree behind all published @medusajs/* packages
11 # (also contains integration-tests + build tooling; single shared yarn.lock).
12 - package-ecosystem: "npm"
13 directory: "/"
14 schedule:
15 interval: "weekly"
16 open-pull-requests-limit: 0
17 labels: ["dependencies"]
18 groups:
19 security-updates:
20 applies-to: security-updates
21 patterns: ["*"]
22
23 # Docs site: SEPARATE, private, never published.
24 - package-ecosystem: "npm"
25 directory: "/www"
26 schedule:
27 interval: "weekly"
28 open-pull-requests-limit: 0
29 labels: ["docs", "dependencies"]
30 groups:
31 security-updates:
32 applies-to: security-updates
33 patterns: ["*"]
34
35 # Keep GitHub Action versions reviewed and current on this fork.
36 # This permits at most two routine PRs; no auto-merging is configured.
37 - package-ecosystem: "github-actions"
38 directory: "/"
39 schedule:
40 interval: "weekly"
41 open-pull-requests-limit: 2
42 labels: ["dependencies"]
43 groups:
44 security-updates:
45 applies-to: security-updates
46 patterns: ["*"]
47 routine-action-updates:
48 applies-to: version-updates
49 patterns: ["*"]
50
51 # The standalone /commerce package exists only in unmerged PR #2. A Dependabot
52 # entry for /commerce must be added *after* that directory reaches main;
53 # configuring it now would point Dependabot at a nonexistent default-branch path.