Repository navigation
Description
Problem or Motivation
Renovate has opened no pull request since 2026-10-01, and #4905 (self-hosted Renovate in the cluster) is not done. The owner rule is to take a security fix at once. The owner decided on 2026-11-13 to turn on the Dependabot security updates until Renovate runs (#4905). The owner flips the repository settings (Dependabot alerts and Dependabot security updates). An agent cannot change a repository setting.
Without a config file, a Dependabot pull request gets the title Bump <package> from <old> to <new>. The Semantic PR title check refuses that title, because it has no Conventional Commit type and scope. Dependabot also adds its own labels (dependencies and a language label), which .github/labels.yml does not declare.
Proposed Solution & Architectural Design
Add .github/dependabot.yml (version 2) with one updates entry for each package ecosystem of the repository that has Dependabot security updates:
package-ecosystem |
Directory | Manifest |
|---|---|---|
uv |
/ |
pyproject.toml, uv.lock |
pip |
/src/devops_cli/tools_lock |
the pip-compile files *.in and *.txt |
npm |
directories: the 3 folders of src/devops_cli/tools_lock/ with a package-lock.json (devcontainers-cli, openspec, style-dictionary) |
package.json, package-lock.json |
github-actions |
directories: / and each folder of .github/actions/ |
.github/workflows/*.yml, action.yml |
Each entry has:
open-pull-requests-limit: 0. This stops the version updates. The security updates have a separate, fixed limit of 10 open pull requests, which this option does not change.commit-message.prefix: "fix(deps)", with noinclude: scope. Dependabot adds the colon after the closing parenthesis, so the pull request title isfix(deps): bump <package> ....scope/depsis in.github/labels.yml, so theSemantic PR titlecheck accepts the scope.include: scopewould adddeps-dev, which is not a declared scope.labels: ["scope/deps"], so Dependabot creates no undeclared label.- a
schedule.interval(for exampleweekly), because the schema requires one.
The Dockerfiles, the devcontainer features, tf/ and the Helm values get no entry. The Dependabot documentation marks the security updates of docker, devcontainers, terraform, opentofu and helm as not supported, and the version updates stay off. Renovate keeps them (#4905).
Known limits:
- The summary of a title has at most 60 characters. Dependabot adds
in <directory>for an entry that is not at the root, so a security pull request of an npm folder can have a longer title. Shorten the title of such a pull request before the merge. The check runs again on an edit of the title. - A workflow run of a Dependabot pull request gets no Actions value of the repository settings. If a required check needs one, record the failure on this issue.
When Renovate runs (#4905), remove .github/dependabot.yml, and the owner turns off the Dependabot security updates, so that two bots do not open the same fix.
Target Subsystem
Security & Vulnerability Scanners
Existing Tool Considered
Dependabot security updates (a GitHub feature) need only the repository settings and this file. Renovate (#4893, #4905) replaces them when it runs. No new code.
Cost: about 40 lines (the file and one test), about 30k tokens, about 1 hour.
Acceptance Criteria
-
.github/dependabot.ymlhas an entry foruv,pip,npmandgithub-actionswith the directories above. - A test (next to
tests/core/test_renovate_config.py) loads the file, and asserts for each entryopen-pull-requests-limit0, the prefixfix(deps), noinclude, and the labelscope/deps. - The same test asserts that each directory in the file exists, and that
depsis a scope of.github/workflows/pr-title.yml. -
uv run devops ci --check --only lint,formatpasses. - After the owner turns on the settings, the first Dependabot security pull request has a
fix(deps): ...title and passes theSemantic PR titlecheck, or this issue records why not.
Alternatives check of 2026-11-17: not-applicable.
Class: chore, no search.
Tool: none found.
Proposed design
Problem statement
Dependabot security updates would open pull requests with the default title Bump <package> from <old> to <new>, which the Semantic PR title check refuses because it has no Conventional Commit type and scope, and with the default dependencies and ecosystem labels, which .github/labels.yml does not declare. Add .github/dependabot.yml so each security pull request gets a fix(deps): ... title and the scope/deps label. The config is a stopgap until Renovate runs (#4905); the owner turns on Dependabot alerts and Dependabot security updates in a separate issue.
Acceptance criteria
Requirement: Dependabot config is valid YAML
The repository SHALL add .github/dependabot.yml as a valid YAML document with version: 2 and an updates list.
Scenario: The YAML hook accepts the config
- WHEN
uv run pre-commit run check-yaml --files .github/dependabot.ymlruns - THEN the hook exits 0 and prints
Passedfor.github/dependabot.yml.
Requirement: Dependabot declares the supported entries
The config SHALL declare one updates entry for uv at /, pip at /src/devops_cli/tools_lock, npm at src/devops_cli/tools_lock/devcontainers-cli, src/devops_cli/tools_lock/openspec and src/devops_cli/tools_lock/style-dictionary, and github-actions at / and each .github/actions/* folder that holds an action.yml.
Scenario: Dependabot reads the ecosystem entries
- WHEN the Dependabot log of the first run after the merge is read
- THEN it reports no configuration error for the
uv,pip,npmorgithub-actionsentries.
Requirement: Dependabot accepts the security-update settings
Each updates entry SHALL set open-pull-requests-limit to 0, commit-message.prefix to fix(deps) with no commit-message.include, labels to scope/deps, and a schedule.interval.
Scenario: Dependabot reads the entry settings
- WHEN the Dependabot log of the first run after the merge is read
- THEN it reports no configuration error for the
open-pull-requests-limit,commit-message,labelsorschedulesettings.
Requirement: No entry for an unsupported ecosystem
The config SHALL declare no updates entry for docker, devcontainers, terraform, opentofu or helm.
Scenario: Dependabot reads the ecosystem list
- WHEN the Dependabot log of the first run after the merge is read
- THEN it reports no update job for
docker,devcontainers,terraform,opentofuorhelm.
Existing Tool Considered
The alternatives check of 2026-11-17 records not-applicable and names no tool. The open, maintained tool that covers the need is Renovate, which ADR 0027 chose (docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:26, docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:36): it covers every pin class and runs the project's commands, but it does not run yet (#4905) and runs under an AGPL-3.0 owner exception. This change adds no code; it adds .github/dependabot.yml for Dependabot security updates, the GitHub-hosted stopgap, which lacks security updates for docker, devcontainers, terraform, opentofu and helm (.github/renovate/base.json:70, .github/renovate/base.json:75, .github/renovate/base.json:85, .github/renovate/base.json:90). Cost: about 30 lines of YAML, no code, about 5k tokens, about 15 minutes.
Key questions
- Should the repository use Dependabot security updates until Renovate runs?: Yes. The owner decided on 2026-11-13 to turn on Dependabot alerts and Dependabot security updates until Renovate runs (feat(k8s): run self-hosted Renovate as a CronJob in devops #4905). ADR 0027 makes Renovate the dependency updater, and
AGENTS.mdleaves repository settings to a person, so the owner turns the setting on in a separate issue. (best practice) [sources: docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:13, docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:26, AGENTS.md:21]- Chosen: Dependabot security updates until feat(k8s): run self-hosted Renovate as a CronJob in devops #4905. The owner decided on 2026-11-13; Renovate opened no pull request since 2026-10-01, and feat(k8s): run self-hosted Renovate as a CronJob in devops #4905 is not done.
- Rejected: Wait for Renovate. A security fix would wait; Renovate opened no pull request since 2026-10-01 and feat(k8s): run self-hosted Renovate as a CronJob in devops #4905 is not done.
- Rejected: Dependabot version updates too. ADR 0027 rejects them: Dependabot cannot run the project's commands and has no manager for several pin classes.
- Does the repository declare the
scope/depslabel?: Yes..github/labels.ymldeclaresscope/depswith the description 'Dependency pins, upgrades and the supply chain'. [sources: .github/labels.yml:80] - Does the Semantic PR title check use the
depsscope?: Yes..github/workflows/pr-title.ymllistsdepsin thescopesinput, so a title withfix(deps)has a type and a declared scope. [sources: .github/workflows/pr-title.yml:56, .github/labels.yml:80] - Which commit message settings avoid an undeclared scope?: Set
commit-message.prefixtofix(deps)and omitinclude: scope. Dependabot adds the colon, so the title isfix(deps): Bump ....prefix-developmentdefaults toprefix, so a development dependency also getsfix(deps).include: scopeaddsdeps-devfor development dependencies, which.github/labels.ymldoes not declare. (best practice) [sources: .github/labels.yml:80, .github/workflows/pr-title.yml:56]- Chosen: prefix fix(deps), no include. The title is
fix(deps): Bump ...;prefix-developmentdefaults toprefix, so development dependencies also getfix(deps), anddepsis a declared scope. - Rejected: prefix fix with include scope.
include: scopeaddsdeps-devfor development dependencies, which.github/labels.ymldoes not declare. - Rejected: prefix chore(deps). A security update is a fix, and
choreis not the type of a security fix.
- Chosen: prefix fix(deps), no include. The title is
- How do we keep version updates off?: Set
open-pull-requests-limitto 0 in each entry. This turns version update pull requests off. The security update limit is separate and stays at 10. (best practice) [sources: docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:32, docs/SDLC.md:334]- Chosen: open-pull-requests-limit 0. It turns version updates off; the security updates have a separate limit of 10, which this option does not change.
- Rejected: no open-pull-requests-limit. Dependabot opens version update pull requests.
- Rejected: open-pull-requests-limit 1. It still opens one version update pull request.
- Which package ecosystems and directories?: Use
uvat/,pipat/src/devops_cli/tools_lockfor the<tool>.inand<tool>.txtpip-compile files,npmatsrc/devops_cli/tools_lock/devcontainers-cli,src/devops_cli/tools_lock/openspecandsrc/devops_cli/tools_lock/style-dictionary, andgithub-actionsat/and each.github/actions/*folder that holds anaction.yml. Leavedocker,devcontainers,terraform,opentofuandhelmto Renovate. (best practice) [sources: pyproject.toml, uv.lock, src/devops_cli/tools_lock/bandit.txt, src/devops_cli/tools_lock/devcontainers-cli/package-lock.json, src/devops_cli/tools_lock/openspec/package-lock.json, src/devops_cli/tools_lock/style-dictionary/package-lock.json, .github/actions/setup-toolchain/action.yml, .github/actions/devcontainer-image/action.yml, .github/actions/devcontainer-smoke/action.yml, .github/renovate.json:21]- Chosen: supported ecosystems only. The repository has these manifests; the other pin classes are Renovate's.
- Rejected: all ecosystems. Dependabot has no manager for
docker,devcontainers,terraform,opentofuorhelm(ADR 0027). - Rejected: wait for Renovate. Renovate opened no pull request since 2026-10-01, and feat(k8s): run self-hosted Renovate as a CronJob in devops #4905 is not done.
- Which schedule interval?: Use
weekly. The schema requires aschedule.interval. The schedule applies to version updates, whichopen-pull-requests-limit0 turns off, and Dependabot security updates run when an advisory is published, not on this schedule. (best practice) [sources: docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:32]- Chosen: weekly. The schema requires an interval; version updates are off, and security updates run when an advisory is published, not on this schedule.
- Rejected: daily. It adds no benefit when version updates are off.
- Rejected: monthly. It delays nothing that security updates need; weekly is the common default.
- Should the config set
labelstoscope/deps?: Yes. Thelabelsoption adds the declaredscope/depslabel and replaces Dependabot's defaultdependenciesand ecosystem labels, which.github/labels.ymldoes not declare. (best practice) [sources: .github/labels.yml:80, .github/labels.yml:1]- Chosen: labels scope/deps. It adds the declared label and replaces Dependabot's default labels.
- Rejected: no labels option. Dependabot adds
dependenciesand an ecosystem label, which.github/labels.ymldoes not declare.
- Which ecosystems do Dependabot security updates not support?: Dependabot has no manager for the
docker,devcontainers,terraform,opentofuandhelmpin classes, which ADR 0027 records as the reason it rejects Dependabot version updates; the Renovate preset covers those classes, so the config gives them no entry and Renovate keeps them (feat(k8s): run self-hosted Renovate as a CronJob in devops #4905). [sources: docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:32, docs/SDLC.md:334, .github/renovate/base.json:70, .github/renovate/base.json:75, .github/renovate/base.json:85, .github/renovate/base.json:90] - What happens when a non-root entry makes the title longer than 60 characters?: Dependabot adds
in <directory>to the title of an entry that is not at the root, so an npm security pull request can have a summary longer than the 60 characters of theSemantic PR titlecheck. The person shortens the title before the merge; the check runs again on an edit of the title. The deferred owner issue records the shorter title or why it was not needed. (best practice) [sources: .github/workflows/pr-title.yml:93, docs/SDLC.md:334]- Chosen: shorten the title before the merge. The check runs again on an edit of the title, and the deferred owner issue records the shorter title.
- Rejected: drop the non-root npm entries. It loses the security updates of the three npm locks.
- Rejected: leave the long title. The
Semantic PR titlecheck refuses a summary over 60 characters.
- Does each
.github/actions/*folder need its owngithub-actionsentry?: Yes. Each folder holds anaction.ymlthat pinsuses:actions, so each action folder gets its own entry; the root entry covers.github/workflows. (best practice) [sources: .github/actions/setup-toolchain/action.yml:38, .github/actions/devcontainer-image/action.yml:38, .github/actions/devcontainer-smoke/action.yml:21, .github/workflows/pr-title.yml:40]- Chosen: one entry for each action folder. Each
action.ymlpinsuses:actions, so it needs an entry that reads it. - Rejected: root entry only. The root entry covers
.github/workflows; the action pins would stay unupdated.
- Chosen: one entry for each action folder. Each
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 13, 2026
Both manage dependency updates for this repository, but the candidate adds a temporary Dependabot security config while #4896 configures the long-term Renovate schedule.devops-cli-service commentedon Nov 17, 2026
Alternatives check: not-applicable (chore item; no search).
devops-cli-service commentedon Nov 18, 2026
Status set to Ready at 86358b6 (see proposed design in issue body).
Moved to new items: #6277, #6278.
dan-petty commentedon Nov 26, 2026
Closed: the Dependabot stopgap is no longer needed.
This item covered the time until Renovate ran (#4905). Renovate runs now, from dan-petty/homelab, and opens pull requests here. The repository baseline in dan-petty/infra keeps Dependabot security updates off. The
src/devops_cli/tools_lockfolders that the config named are deleted.