# Dependabot on autopilot

Dependabot pull requests skip preparation and go straight to the integrator. Patch and minor bumps merge once the required checks pass. Majors, and failures one fix round can't settle, wait for a person.

Needs ub-agents 0.3.5 or newer, `trusted-pr-authors: [dependabot]` and `dependencies` as an integrator trigger. `max-rounds: 1` enforces the single fix round.

## Why it exists

Dependabot is good at noticing updates and bad at finishing them, so its pull requests pile up. Here its own `dependencies` label sends each one straight to the integrator, which works from the title and the diff. The PR body is withheld, because release notes are text from outside your repository. Clean bumps merge, a failing test gets one fix round, and majors wait for a person. [Trusted PR authors](https://agents.uberblick.ai/docs/configuration/approvals.md#trusted-pr-authors) let Dependabot take this path without a maintainer approving every new head.

## What you gain

- Security patches can merge as soon as Dependabot opens them and the checks pass.
- Patch and minor bumps no longer wait for someone to read release notes.
- Majors still go to a person, with the checks already run.

## Where a person steps in

Major updates, and anything one fix round can't settle.

## The flow

```flow
flow v0
# Dependabot updates: small bumps merge on their own, majors wait for a person.

columns rework main stop

box dependabot col=main title=Dependabot "opens a pull request"
pill dependencies tone=agent
box integrator "reads the title and the diff, runs the gates"
pill needs-changes col=rework row=integrator tone=rework
box implementer col=rework "one fix round, back to the integrator"
end merged col=main "Merged · minor or patch"

panel human col=stop row=integrator span=2 tone=stop
  pill needs-human
  strong "A person decides"

dependabot --> dependencies
dependencies --> integrator : trigger
integrator --> merged : minor or patch, gates green
integrator --> needs-changes tone=rework from=left.1 : a gate failed
needs-changes --> implementer tone=rework
implementer --> integrator tone=rework from=right to=left.2
integrator --> human tone=stop : major, or still failing

legend
  pill tone=done "GitHub label" sample=dependencies
  box "agent role"
  panel tone=stop "a person decides"

play "Clean merge"
  tempo 1.8s
  step dependabot actor="Dependabot files" "Bump vite from 7.1.2 to 7.1.5"
  step dependencies 3.2s actor="Loop picks" "Dependabot adds the dependencies label itself, and that label starts the pick-up: a trusted bot goes straight to the integrator"
  step integrator 2.6s actor="Integrator" "No conflicts, tests pass, no gate prevents merging"
  step merged 3s actor="Merged" "PR merged, nobody had to step in 🎉"

play "Tests failing"
  tempo 1.8s
  step dependabot actor="Dependabot files" "Bump zod from 4.4.3 to 4.6.6"
  step dependencies 3.2s actor="Loop picks" "Dependabot adds the dependencies label itself, and that label starts the pick-up: a trusted bot goes straight to the integrator"
  step integrator 2.4s actor="Integrator" "A test fails on the new version, so it gets one fix round"
  step needs-changes actor="Loop hands back" "Labels it needs-changes"
  step implementer 3.2s actor="Implementer" "Picks it up on its own, finds the cause, fixes two assertions and sends it back to the integrator"
  step integrator 2.2s actor="Integrator" "Tests pass now, no gate prevents merging"
  step merged 3s actor="Merged" "Integrator reports green gates: merged after one fix round, no human bothered 🥳"

play "Fix fails"
  tempo 1.8s
  step dependabot actor="Dependabot files" "Bump zod from 4.4.3 to 4.6.6"
  step dependencies 3.2s actor="Loop picks" "Dependabot adds the dependencies label itself, and that label starts the pick-up: a trusted bot goes straight to the integrator"
  step integrator 2.4s actor="Integrator" "A test fails on the new version, so it gets one fix round"
  step needs-changes actor="Loop hands back" "Labels it needs-changes"
  step implementer 3.2s actor="Implementer" "Picks it up on its own, adapts the code and sends it back to the integrator"
  step integrator 2.4s actor="Integrator" "Still failing after the one round, so no second try"
  step human 3s actor="Needs a human" "A person decides: fix by hand, pin the old version or close it"

play "Major release"
  tempo 1.8s
  step dependabot actor="Dependabot files" "Bump a package to a new major version"
  step dependencies 3.2s actor="Loop picks" "Dependabot adds the dependencies label itself, and that label starts the pick-up: a trusted bot goes straight to the integrator"
  step integrator 2.6s actor="Integrator" "Tests pass, but a major can change behaviour"
  step human 3s actor="Needs a human" "A person reads the changelog, then merges or closes the PR"
```

## Adopt it

Give your coding agent this prompt:

```text
I'm thinking about adding "Dependabot on autopilot" (https://agents.uberblick.ai/workflows/dependabot/) to the ub-agents loop in one of my repositories. Read that page and the story behind it at https://uberblick.ai/blog/2026/agents-auto-merge-dependabot, then walk me through what you think of it: how it changes the way the loop handles Dependabot pull requests, what it is good for, and what could go wrong.

If you are not already in the repository that runs ub-agents, ask me which one to look at. Then look for evidence that it would help there: how many Dependabot pull requests come in, how long they stay open, how often their checks fail, how many are major updates, and whether the required checks are strong enough to trust an automatic merge. Read its ub-agents.yaml and loop policy under .agents/, and tell me plainly whether you would adopt it, adopt it with changes, or leave it.

If you recommend it, propose an adoption plan. It needs ub-agents 0.3.5 or newer, which added trusted-pr-authors, so check the installed version and plan an upgrade if needed. Set trusted-pr-authors: [dependabot] and add dependencies to the integrator's trigger while keeping its other triggers. Major updates go to a person to merge or close; patch and minor updates merge on their own only when the required checks and other gates pass; one fix round is allowed before an unresolved failure goes to a person, optionally enforced with max-rounds: 1 on the integrator's changes-requested outcome. Keep the change the smallest that works, preserve the repository's checks and human merge decisions, and show me the diff before writing anything.
```
