Safeguard
Developer Tools•

Which frontend dependency updates are safe to automerge?

Automerge patch updates to dev tooling when tests, visual checks and a scan pass. Keep runtime UI dependencies and majors under review. A policy table.

Safeguard Security Team
3 min read

Automerge patch updates to development tooling when unit tests, visual checks and a dependency scan all pass. Keep runtime UI dependencies, host library bumps and every major version under human review. The line is drawn by what ships to users and how well your tests cover it.

Start from what your tests can prove

Automerge is a statement of trust in your pipeline. If a visual test suite covers your components and a scan runs on each pull request, a green result carries real weight. If coverage is thin, automerge just moves risk around.

Both major update tools let you set rules by update type and package group. Dependabot offers grouping and a cooldown option for version updates, and the documentation notes the cooldown does not apply to security updates. Renovate offers a minimum release age setting and package rules; its documentation shows the vulnerability alert preset with no release age delay. Read each tool's current pages before copying a configuration.

A policy table

UpdateDev tooling onlyRuntime UI dependencyHost library or design system
PatchAutomerge if checks passAutomerge only with visual and unit coverageReview
MinorAutomerge for low risk tools, else reviewReviewReview
MajorReviewReview with a migration planPlan as a project
Security fixMerge fast after checksFast lane, see belowFast lane

Conditions to require before any automerge

  1. Required status checks pass: build, unit tests, interaction tests.
  2. Visual regression passes with no baseline change. A baseline change always needs a person, as in when to accept a visual diff.
  3. The dependency scan shows no new vulnerable packages.
  4. The package has been published for a few days, using a cooldown or release age setting, so a bad release can be pulled first. See Dependabot cooldown: delay new releases.
  5. The change touches only manifests and the lockfile.

Security fixes are different

You usually want a security patch in quickly, so do not let a delay setting stall it. Keep the same checks, and let the fix skip waiting for a calendar slot. The reasoning is in should a security dependency fix wait for the next release train.

Guard against noise and fatigue

Cap the number of open update pull requests and group related packages, so reviewers see a handful of meaningful changes. See how to group dependency updates without hiding risk. Review the automerge list every quarter and remove packages that caused trouble.

Try it yourself

Click through it at your own pace, or open it full screen. Check which conditions must pass before a pull request can merge.

Safeguard policies can act as one of those gates, blocking a merge when an update introduces a vulnerable dependency. A free scan is available at gold.safeguard.sh/scan.

Quick check

Is automerging patch versions always safe?

No. Patch releases can still break behavior. Safety depends on your test coverage and release age rules.

Should a security update wait out the cooldown?

Dependabot's documentation says cooldown applies to version updates, not security updates. Decide the same for your own rules and say so in policy.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.