Dependency scanning setup
Automated dependency updates solve a real problem and create another: a flood of pull requests nobody merges. The configuration that works groups updates, runs on a survivable cadence, and separates security alerts from routine bumps.
Method
- Separate security alerts from version updates. Vulnerability notifications should be rare and actionable; routine bumps are maintenance and should not compete with them.
- Group updates into one pull request per ecosystem. Ten separate bumps is ten reviews and ten CI runs for one decision.
- Choose a cadence the team can absorb. Monthly grouped updates get merged; weekly per-dependency updates get ignored, and an ignored update process is worse than none.
- Exclude major versions from automation. Breaking changes need migration work and block a whole batch when included (see semantic-versioning).
- Require CI to pass before merge. An automated update that breaks the build must not be mergeable, which makes the test suite the real gate.
- Assign an owner for the update queue. Unowned automation accumulates, and someone must be accountable for merging or closing.
- Review the configuration when the noise returns. Rising unmerged counts mean the cadence or grouping is wrong rather than the team being lax.
Boundaries
Scanning finds known vulnerabilities in declared dependencies; vendored and transitive code may be missed (see supply-chain-security). A vulnerability alert is not always exploitable in your usage, which needs assessment rather than reflexive upgrading. Automation cannot judge whether an update is safe beyond what tests cover.