|
1 | | -# To get started with Dependabot version updates, you'll need to specify which |
2 | | -# package ecosystems to update and where the package manifests are located. |
3 | | -# Please see the documentation for all configuration options: |
4 | | -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates |
5 | | - |
6 | 1 | version: 2 |
7 | | - |
| 2 | + |
8 | 3 | updates: |
9 | | -# 1) All frontend (npm) deps in ONE PR |
10 | | - - package-ecosystem: "npm" |
11 | | - directory: "/src/frontend" |
| 4 | + # GitHub Actions - grouped |
| 5 | + - package-ecosystem: "github-actions" |
| 6 | + directory: "/" |
12 | 7 | schedule: |
13 | | - interval: "monthly" |
| 8 | + interval: "monthly" |
14 | 9 | target-branch: "dependabotchanges" |
15 | | - open-pull-requests-limit: 10 |
16 | 10 | commit-message: |
17 | | - prefix: "build(deps)" |
18 | | - |
| 11 | + prefix: "build" |
| 12 | + open-pull-requests-limit: 10 |
19 | 13 | groups: |
20 | | - all-frontend-deps: |
| 14 | + github-actions: |
21 | 15 | patterns: |
22 | | - - "*" |
23 | | - |
24 | | - |
25 | | -# 2) All backend (pip) deps in ONE PR |
| 16 | + - "*" |
| 17 | + |
| 18 | + # Python (pip) dependencies - grouped |
26 | 19 | - package-ecosystem: "pip" |
27 | | - directory: "/src" |
| 20 | + directories: |
| 21 | + - "/content-gen/src/backend" |
| 22 | + - "/content-gen/infra/vscode_web" |
| 23 | + - "/content-gen/scripts" |
28 | 24 | schedule: |
29 | 25 | interval: "monthly" |
30 | 26 | target-branch: "dependabotchanges" |
31 | | - open-pull-requests-limit: 10 |
32 | 27 | commit-message: |
33 | | - prefix: "build(deps)" |
| 28 | + prefix: "build" |
| 29 | + open-pull-requests-limit: 10 |
34 | 30 | groups: |
35 | | - all-backend-deps: |
| 31 | + python-deps: |
36 | 32 | patterns: |
37 | | - - "*" |
38 | | - |
39 | | -# 3) All GitHub Actions in ONE PR |
40 | | - - package-ecosystem: "github-actions" |
41 | | - directory: "/" |
| 33 | + - "*" |
| 34 | + |
| 35 | + # npm dependencies - grouped |
| 36 | + - package-ecosystem: "npm" |
| 37 | + directories: |
| 38 | + - "/content-gen/src/app/frontend" |
| 39 | + - "/content-gen/src/app/frontend-server" |
42 | 40 | schedule: |
43 | 41 | interval: "monthly" |
44 | 42 | target-branch: "dependabotchanges" |
45 | | - open-pull-requests-limit: 10 |
46 | 43 | commit-message: |
47 | | - prefix: "build(deps)" |
| 44 | + prefix: "build" |
| 45 | + open-pull-requests-limit: 10 |
48 | 46 | groups: |
49 | | - all-actions: |
| 47 | + npm-deps: |
50 | 48 | patterns: |
51 | | - - "*" |
52 | | - |
| 49 | + - "*" |
0 commit comments