Skip to content

Commit f9fa586

Browse files
authored
Create dependabot.yml
Add configs for version dependency updates
1 parent 9ddfa27 commit f9fa586

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Enable Dependabot NPM updates for all dependencies on a weekly basis
2+
version: 2
3+
updates:
4+
- package-ecosystem: "npm"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
# Allow up to 10 open PRs for dependencies
9+
open-pull-requests-limit: 10
10+
# Group together Angular package upgrades
11+
groups:
12+
# Group together all minor/patch version updates for Angular in a single PR
13+
angular:
14+
applies-to: version-updates
15+
patterns:
16+
- "@angular*"
17+
update-types:
18+
- "minor"
19+
- "patch"
20+
# Group together all security updates for Angular. Only accept minor/patch types.
21+
angular-security:
22+
applies-to: security-updates
23+
patterns:
24+
- "@angular*"
25+
update-types:
26+
- "minor"
27+
- "patch"
28+
# Group together all minor/patch version updates for NgRx in a single PR
29+
ngrx:
30+
applies-to: version-updates
31+
patterns:
32+
- "@ngrx*"
33+
update-types:
34+
- "minor"
35+
- "patch"
36+
# Group together all security updates for NgRx. Only accept minor/patch types.
37+
ngrx-security:
38+
applies-to: security-updates
39+
patterns:
40+
- "@ngrx*"
41+
update-types:
42+
- "minor"
43+
- "patch"
44+
ignore:
45+
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
46+
- dependency-name: "*"
47+
update-types: ["version-update:semver-major"]

0 commit comments

Comments
 (0)