You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependabot is a GitHub-native tool that automatically opens pull requests to keep dependencies up to date. Its configuration settings are located in `.github/dependabot.yml`, and runs weekly.
6
+
7
+
## What Dependabot Updates
8
+
9
+
-**Node.js dependencies**: Dependencies declared in `package.json` and the lockfile `yarn.lock`
10
+
-**Docker dependencies**: Updates base image tags referenced by Dockerfiles (e.g. the one in `apps/backend`)
11
+
-**GitHub Actions**: Updates action versions used in workflows in `.github/workflows`
12
+
13
+
## Schedule and Ownership
14
+
15
+
Dependabot creates PRs on a **weekly** basis, and automatically assigns the PRs to `aaronashby` and `thaninbew`
16
+
17
+
## How to Review Dependabot PRs
18
+
19
+
- Skim the PR title, release notes, and commits
20
+
- Check the diff
21
+
- Dependency updates often change `package.json` + `yarn.lock` (or only `yarn.lock`).
22
+
- Docker updates typically change a `FROM …` line.
23
+
- Actions updates usually change `uses: …@vX` pins in workflows.
24
+
25
+
## Merging Guidelines (suggested)
26
+
27
+
-**Patch/minor updates**: usually safe to merge once CI passes.
28
+
-**Major updates**: prefer a quick manual smoke test and a scan for breaking changes.
29
+
-**Lockfile-only updates**: merge if CI passes (these happen due to dependency resolution changes).
30
+
31
+
## Common Tweaks (edit `.github/dependabot.yml`)
32
+
33
+
-**Add a separate Docker entry for root compose files**
34
+
- Dependabot currently only scans Docker in `/apps/backend`. If you want it to update `docker-compose.dev.yml` at the repo root, add another docker update with `directory: "/"`.
35
+
-**Limit PR volume**
36
+
- Add `open-pull-requests-limit: <number>` to an update block.
37
+
-**Ignore versions**
38
+
- Use `ignore:` to skip major versions or specific packages temporarily.
39
+
-**Group updates**
40
+
- Use `groups:` to bundle related packages (e.g., React, NestJS, Nx) into fewer PRs.
41
+
42
+
## Troubleshooting
43
+
-**CI fails after a bump**
44
+
- Check the package’s changelog/release notes and revert/ignore if needed.
45
+
- If it’s a tooling bump (Nx/Vite/ESLint/TypeScript), failures often come from peer dependency changes or config deprecations.
46
+
-**Dependabot isn’t opening PRs**
47
+
- Confirm `.github/dependabot.yml` is on the default branch and syntactically valid.
48
+
- Check the repo’s Dependabot alerts/PRs in GitHub for run history and errors.
0 commit comments