Repository navigation
Expand file tree
/
Copy pathdependabot.yml
More file actions
46 lines (43 loc) · 1.51 KB
/
Copy pathdependabot.yml
File metadata and controls
46 lines (43 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Dependabot config — automated dependency update PRs.
#
# Copy this file to .github/dependabot.yml in your repo. GitHub picks it up
# automatically (no Action needed). Tweak points are flagged with "TWEAK".
#
# Covers npm (works for pnpm/yarn/npm) and the GitHub Actions in your workflows.
# A pip block for a Python backend is included, commented out.
version: 2
updates:
# JS/TS dependencies. The "npm" ecosystem handles pnpm and yarn too — it reads
# whichever lockfile you have. TWEAK: set `directory` to where package.json lives.
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
# Batch routine bumps into a few PRs instead of one-per-package, to cut noise.
groups:
dev-dependencies:
dependency-type: development
production-minor-patch:
dependency-type: production
update-types: [minor, patch]
# TWEAK: ignore majors for a framework you upgrade deliberately, e.g.
# ignore:
# - dependency-name: next
# update-types: [version-update:semver-major]
# Keep the actions pinned in .github/workflows/*.yml (e.g. ci.yml) up to date.
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
github-actions:
patterns: ["*"]
# Python backend — uncomment if the repo has one. TWEAK the directory.
# - package-ecosystem: pip
# directory: /
# schedule:
# interval: weekly
# groups:
# python:
# patterns: ["*"]