22# package ecosystems to update and where the package manifests are located.
33# Please see the documentation for all configuration options:
44# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
5+
66# .github/dependabot.yml
77version : 2
8-
8+
99updates :
10- # ##############################################################################
11- # 1) ONE PR on `dependabotchanges` with *all* normal npm bumps #
12- # ##############################################################################
10+ # 1) All frontend (npm) deps in ONE PR ──────────────────────────────────────────
1311 - package-ecosystem : " npm"
1412 directory : " /src/frontend"
1513 schedule :
16- interval : " monthly"
14+ interval : " monthly" # run once a month; change to "weekly"
1715 target-branch : " dependabotchanges"
18- open-pull-requests-limit : 200
16+ open-pull-requests-limit : 10 # plenty of head-room; has no effect
1917 commit-message :
2018 prefix : " build(deps)"
21-
19+ # keep widen-ranges (default) → plays nicer with peerDeps
2220 groups :
2321 all-frontend-deps :
24- patterns : ["*"] # every dependency
25-
26-
27-
28- # ##############################################################################
29- # 2) ONE PR on `dependabot-react-major` with React / FluentUI majors only #
30- # versioning-strategy: lockfile-only ⇢ fixes previous timeout / hang #
31- # ##############################################################################
32- # - package-ecosystem: "npm"
33- # directory: "/src/frontend"
34- # schedule:
35- # interval: "monthly"
36- # target-branch: "dependabot-react-major"
37- # open-pull-requests-limit: 50
38- # commit-message:
39- # prefix: "build(deps-major)"
40- # versioning-strategy: lockfile-only # ← replaces the invalid key
41-
42- # groups:
43- # react-fluentui-major:
44- # patterns:
45- # - "react"
46- # - "react-dom"
47- # - "react-test-renderer"
48- # - "@types/react"
49- # - "@types/react-dom"
50- # - "@fluentui/*"
51- # - "eslint-plugin-react"
52- # - "@testing-library/react*"
53- # update-types: ["major"]
54-
55- # ##############################################################################
56- # 3) ONE PR for all pip requirements #
57- # ##############################################################################
22+ patterns :
23+ - " *" # grab **everything**
24+ # ignore majors (and peers) that commonly explode CI; you can remove later
25+ ignore :
26+ - dependency-name : " react"
27+ update-types : ["version-update:semver-major"]
28+ - dependency-name : " @types/react"
29+ update-types : ["version-update:semver-major"]
30+ - dependency-name : " @fluentui/*"
31+ update-types : ["version-update:semver-major"]
32+
33+ # 2) All backend (pip) deps in ONE PR ───────────────────────────────────────────
5834 - package-ecosystem : " pip"
5935 directory : " /src"
6036 schedule :
@@ -65,11 +41,10 @@ updates:
6541 prefix : " build(deps)"
6642 groups :
6743 all-backend-deps :
68- patterns : ["*"]
69-
70- # ##############################################################################
71- # 4) ONE PR for all GitHub Actions #
72- # ##############################################################################
44+ patterns :
45+ - " *" # everything in requirements*.txt / py-project
46+
47+ # 3) All GitHub Actions in ONE PR ───────────────────────────────────────────────
7348 - package-ecosystem : " github-actions"
7449 directory : " /"
7550 schedule :
@@ -80,4 +55,5 @@ updates:
8055 prefix : " build(deps)"
8156 groups :
8257 all-actions :
83- patterns : ["*"]
58+ patterns :
59+ - " *" # all actions
0 commit comments