Skip to content

chore(deps): adopt Renovate, remove Dependabot (ADR-0004)#27

Merged
NWarila merged 1 commit into
mainfrom
chore/adopt-renovate
May 29, 2026
Merged

chore(deps): adopt Renovate, remove Dependabot (ADR-0004)#27
NWarila merged 1 commit into
mainfrom
chore/adopt-renovate

Conversation

@NWarila
Copy link
Copy Markdown
Owner

@NWarila NWarila commented May 29, 2026

Summary

NWarila/python-template was the org's last dependency-management holdout (per AUDIT-2026-05-28): it still shipped .github/dependabot.yml (github-actions + pip, weekly) and had no Renovate config. Org standard (ADR-0004) is Renovate everywhere. This PR brings it into line.

  • Remove .github/dependabot.yml.
  • Add a standalone .github/renovate.json5 using config:recommended (templates are preset sources; they do not extends another repo's preset), matching sibling template repos (drift-gate, chiseled).

Config decisions

  • enabledManagers: github-actions + pep621.
    • github-actions — SHA-pinned uses: exist in .github/workflows/*.yml and the composite .github/actions/setup-python/action.yml; pinDigests: true keeps them pinned by digest.
    • pep621 — Python deps live only in pyproject.toml ([project.optional-dependencies].dev, e.g. mypy==1.16.0, ruff==0.11.12); there is no requirements*.txt, so pip_requirements is not applicable.
  • No custom.regex manager — grep confirmed there are no # renovate:-annotated pinned pip install name==ver lines in the workflows (the pins are all in pyproject.toml), so the regex manager drift-gate carries is unnecessary here.
  • Semantic commit scopes match the org: ci(deps) for Actions, chore(deps) for Python.

Validation

npx renovate-config-validator .github/renovate.json5Config validated successfully.

Note: this is a clean, focused config built from current main. The stale April branch feat/renovate-and-qa-scripts (which bundled a renovate.json with unrelated breaking changes) was intentionally ignored.

🤖 Generated with Claude Code

python-template was the org's last dependency-management holdout still on
Dependabot. Replace .github/dependabot.yml with a standalone
.github/renovate.json5 (config:recommended) matching the org standard and the
sibling template repos (drift-gate, chiseled). Enables the github-actions and
pep621 managers for the repo's actual dependency files.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@NWarila NWarila merged commit dee7b76 into main May 29, 2026
13 checks passed
@NWarila NWarila deleted the chore/adopt-renovate branch May 29, 2026 00:44
NWarila added a commit that referenced this pull request May 29, 2026
…4) (#28)

## Summary

Round-3 doc-accuracy fix (AUDIT-2026-05-28 round 2). `PLAN.md` still
asserted **Dependabot** as the chosen dependency-update tool,
contradicting the shipped state after PR #27 (merged): this repo adopted
**Renovate** (`.github/renovate.json5`) and removed Dependabot
(`.github/dependabot.yml` deleted), per **ADR-0004**.

Verified current state before editing:
- `gh api .../contents/.github/renovate.json5` -> exists
- `gh api .../contents/.github/dependabot.yml` -> 404

## Stale references reconciled

| Where | Before | After |
| --- | --- | --- |
| Resolved Decision #5 | "**Dependabot, not Renovate.**" | "**Renovate,
not Dependabot.**" — superseded by ADR-0004, cites `renovate.json5`
config + PR #27 removal |
| Phase 2 TODO | `[ ] Add Dependabot version updates...` | `[x]` done
via Renovate (ADR-0004), not Dependabot |
| Security policy | "Use **Dependabot** version updates..." | "Use
**Renovate** version updates (`.github/renovate.json5`, per
ADR-0004)..." |
| `uv` pilot "not locked yet" | "Dependabot support exists, but..." |
"Dependency-bot support exists (the repo uses Renovate per
ADR-0004...)..." |
| `uv` security-surface caveat | "Dependabot alerts and updates" |
"Dependabot security alerts (advisory visibility; version updates
handled by Renovate per ADR-0004)" |

## Left as historical (intentional)

The **Research Anchors** bibliography (lines ~1085-1165) records docs
reviewed during planning, including the `uv`+Dependabot and
`uv`+Renovate integration links and the "GitHub Dependabot for Actions"
doc. These are accurate tool-*capability* statements and genuine
planning history — not false current-state assertions — so they are
preserved.

## Validation

- `markdownlint-cli2 PLAN.md` (repo `.markdownlint-cli2.jsonc`) -> **0
errors**
- `diff --stat`: `PLAN.md | 30 +++--, 19 insertions(+), 11 deletions(-)`

DO NOT MERGE.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant