Skip to content

Migrate from Dependabot to Renovate - #142

Merged
matt-richardson merged 3 commits into
mainfrom
migrate-dependabot-to-renovate
Jul 27, 2026
Merged

Migrate from Dependabot to Renovate#142
matt-richardson merged 3 commits into
mainfrom
migrate-dependabot-to-renovate

Conversation

@matt-richardson

@matt-richardson matt-richardson commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Migrates dependency updates from Dependabot to the self-hosted Renovate setup used across team-builds repositories.

Changes

  • Add renovate.json (house config: dependencies/autoapprove labels, prConcurrentLimit: 1, minimumReleaseAge: 3 days). No dependency dashboard (team preference, regardless of whether Issues is enabled).
  • Add .github/workflows/renovate.yaml (daily runner; uses the RENOVATE_GITHUB_TOKEN repo secret).
  • Add .github/workflows/renovate-approve-pr.yaml (auto-approves team-builds-bot PRs labelled autoapprove, then auto-merges once required status checks pass).
  • Remove .github/dependabot.yml (nuget ecosystem).
  • Remove .github/workflows/dependabot-automerge.yml.

Notes

  • Renovate auto-detects package files, so the previous per-directory/per-ecosystem Dependabot config is not needed.
  • RENOVATE_GITHUB_TOKEN repo-level secret is set on this repo; the runner is not blocked on it.
  • Renovate's own "Configure Renovate" onboarding PR on this repo has been closed; this PR supersedes it.

Part of the team-builds Dependabot → Renovate migration (DPT-3076).

🤖 Generated with Claude Code


Recreated from #140, which Renovate's own Check Dependencies job deleted the branch of. That job set RENOVATE_BASE_BRANCHES to the PR's own head ref (renovate/migrate-from-dependabot), and since that branch matched Renovate's own renovate/ branch prefix, Renovate's stale-branch cleanup treated it as an orphan and deleted it -- which closed the PR. This PR uses a non-renovate/-prefixed branch name and fixes RENOVATE_BASE_BRANCHES to always target main, so it won't recur.

Migrates dependency updates from Dependabot to the self-hosted Renovate setup used across team-builds repositories.

Part of the team-builds Dependabot -> Renovate migration (DPT-3076).
Renovate treats RENOVATE_BASE_BRANCHES as a branch to reconcile, including
deleting it if Renovate considers it an orphan. Setting it to the
triggering PR's own head ref is destructive whenever that branch happens
to fall under Renovate's own branchPrefix (default "renovate/") -- which
is exactly what happened to this migration's branch. Always target main.
@matt-richardson
matt-richardson requested a review from a team as a code owner July 27, 2026 00:23
Team preference is no dependency dashboard on any of these repos,
regardless of whether GitHub Issues is enabled.
@matt-richardson
matt-richardson merged commit 3a3920a into main Jul 27, 2026
5 checks passed
@matt-richardson
matt-richardson deleted the migrate-dependabot-to-renovate branch July 27, 2026 01:36
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.

2 participants