Set up dependency updates for Renovate pull requests
Dependency updates is the SupaCloud feature that follows the Renovate pull requests of a repository. SupaCloud can watch the open Renovate pull requests of a repository and turn every red one into a backlog item: the failing checks, a redacted log excerpt per check, a cause class (lockfile, toolchain, security, compatibility, ci-environment, credentials, provenance, or unclassified), the evidence line, and how the failure relates to the base branch. By default the item is only prepared: it is held on the board and nothing is dispatched. You can arm dispatch per project.
Turn a repository on
Section titled “Turn a repository on”Every repository Renovate runs on is its own project in the workspace.
- Create (or open) the project for the repository, with its Forgejo URL as the repository.
- Set the project’s git credential to the credential that reads the Renovate pull requests
(
supacloud-stage-boton the stage instance). It needs read access to pull requests, commit statuses and Actions jobs and logs of the repository. - Leave autodev off. Put the source
dependency_updatesinto the backlog arm’ssource_filter.sources, for example{"sources": ["dependency_updates"]}. That list turns preparation on: the arm does not need to be enabled, and nothing is dispatched yet.
Dispatch fixes
Section titled “Dispatch fixes”Add the dependency_updates block to the same source_filter to let fixes run:
{ "sources": ["dependency_updates"], "dependency_updates": { "dispatch": true, "labels": true, "merge_green": false }}| Switch | Default | Effect |
|---|---|---|
dispatch |
false |
The reconciler queues a prepared fix whose failure is the pull request’s own. The round runs on the Renovate branch. |
labels |
false |
The reconciler keeps update/* and failure/<class> labels on the pull request in step. It leaves every other label alone. |
merge_green |
false |
The merge gate merges a ready update (see below) without a person. Off, the update waits in review for a person’s release. |
Some items stay held even when dispatch is armed:
- A semver-major update waits for a person. Queueing the item is the approval.
- An update nothing can classify waits for a person in the same way.
- An external failure, a provenance failure, or a base branch that was already red is never dispatched as a fix of this pull request.
Disarming dispatch returns a queued item to held.
Release green updates
Section titled “Release green updates”A Renovate pull request whose head settled green (no check red, at least one
passed) and whose update is a semver patch or minor is a ready update. The
reconciler reads it with one status read, puts it straight into review, records an
audit pass for exactly that head (renovate_ci_green) and hands it to the merge gate.
- With
merge_greenon, the merge gate merges the pull request pinned to that head, still bounded by the workspace autonomy level and by every other gate input (required reviewers, sensitive paths, a profile that requires review, the CI verdict). - With
merge_greenoff, the update waits in review with the release offer. A person releases it (move it to Done) or dismisses it (move it to Blocked).
A green major update and an update nothing can classify are never merged on their own: they are held as Major update: needs approval or Update kind unknown, and a person merges them on the forge. A deferred pull request is not read at all.
A ready update never enters the fix loop. When its head moves, its CI turns red, the merge gate refuses the merge or the pull request closes, the item is cancelled with that reason (Superseded by a newer head, CI red again, Merge refused, Pull request closed). A red head comes back as a prepared fix.
Let the repository set the rules
Section titled “Let the repository set the rules”The repository’s routing file
can add an optional dependency_updates section. It only ever adds conditions; it never
merges an update the arm would not already merge.
dependency_updates: required_checks: [server-tests, web-lint] approval: armrequired_checksnames check contexts that must each have passed on the head before the update counts as ready. A missing or still-running required check leaves the update where it is until the next pass. The event suffix of a context (for example(push)) is ignored when names are compared.approval: arm(the default) leaves themerge_greenswitch in charge. Withapproval: human, a person releases every ready update, even whilemerge_greenis on.
The rules are read at the next backlog scan after the file changes. Required checks decide when an update enters review, and both rules are read again when the merge gate decides: an update that entered review before a check became required waits for a person’s release. A section SupaCloud cannot read (an unknown key, a malformed list, another approval word) is shown as a finding on the project’s routing card, and until it is fixed every dependency update waits for a person’s release.
Defer one pull request
Section titled “Defer one pull request”Open a held or queued dependency update item on the project board, choose Defer… and set an end, at most one year ahead. No fix of that pull request is prepared or dispatched until then, even after a new Renovate push. A round that already started finishes. An item cancelled this way offers Resume update, and the next pass prepares it again.
Follow a merge to main
Section titled “Follow a merge to main”The merge gate closes a dependency update item as usual. For each merged update, the reconciler then follows main CI of exactly that merge commit for up to 7 days. Green main ends the watch. A cancelled main job is not a red. A red main files one held follow-up item, Main CI red after merge, that links the merged update.
Webhook: optional, only an earlier nudge
Section titled “Webhook: optional, only an earlier nudge”A reconciler reads every dependency update project every 10 minutes (one server instance at a
time). That poll is the correctness path, so a repository needs no webhook. To
react sooner, run the project’s automation setup
(POST /api/projects/{id}/automation/setup) after adding the source: with dependency
update dispatch armed, the webhook subscribes to action_run_failure even while autodev stays
off (then without pull_request). Each signed delivery only makes the poll run early
for that repository.
Group shared failures into one incident
Section titled “Group shared failures into one incident”When the same external failure (the CI host, an expired or missing credential, a
signature or provenance check) is red on two or more repositories of a workspace,
SupaCloud prepares one incident item instead of one fix per repository. The
incident lands in the project whose backlog arm lists the source
dependency_updates_incident (for Blockworx: the bw-infra project). Without such a
project, the shared failure stays on the per-repository items. When the failure is
red on only one repository again, the incident is cancelled as Infra incident
resolved and the remaining items are plain prepared fixes again. The same
failure shared again brings the same incident item back.
What you see on the board
Section titled “What you see on the board”

- Fix prepared — a red head, held for review.
- Part of an infra incident — a red head that belongs to an incident item.
- Infra incident — the incident item itself.
- Major update: needs approval and Update kind unknown — an update that waits for a person.
- Main CI red after merge — the follow-up of a merged update.
- Deferred — a person deferred the pull request.
- A newer head, a closed pull request or a re-run that went green cancels the item with that reason. The same red head brings it back.
- CI red again and Merge refused — a ready update that stopped qualifying.
Move a prepared item to Blocked to dismiss it. While dispatch is armed you can also queue a dependency update item or dispatch it now. A ready update in review can only be released or dismissed. Every other move is refused, and a release always goes through the merge gate.