Skip to content

Track the -legacy repository names and add velnor-lab - #56

Merged
donbeave merged 1 commit into
mainfrom
chore/velnor-legacy-names-and-lab
Nov 12, 2026
Merged

donbeave merged 1 commit into
mainfrom
chore/velnor-legacy-names-and-lab

Conversation

@donbeave

Copy link
Copy Markdown
Contributor

Why

Four repositories were renamed on GitHub and now carry a -legacy suffix: velnor, velnor-actions-fixture, velnor-apt and homebrew-velnor. This repository still lists them without the suffix. An apply from main would rename them back.

tailrocks/velnor-lab is a new repository and needs the same standard as every other one: squash-only merges through pull requests, resolved review conversations, protected default branch and tags.

What changes

  • variables.tf, checks.tf, imports.tf: the four repositories use their current names, in the inventory, the mandatory list (now 46), the import triples and the velnor-trusted runner group.
  • moved.tf: twelve moved blocks carry the state entries to the new keys, so nothing is destroyed. Delete the file after the first apply that includes it.
  • velnor-lab is added with the dco_only check list and an import triple. Its merge settings and both rulesets already exist on GitHub (protect-main 27119695, protect-tags 27119696) and match the module.

How it was checked

  • tofu fmt -check -recursive, tofu init -backend=false, tofu validate: clean.
  • A read-only tofu plan from an empty state against the live organisation: the five repositories and their ten rulesets resolve by the new names and IDs, velnor-lab imports with no difference, the four renamed repositories show their current names, and the plan destroys nothing.

That plan could not use the real state, which is not in this repository. Before applying, run mise run tofu:plan and confirm that it shows twelve moves and no rename.

Reviewer notes

  • Do not apply main before this merges. It would rename the four repositories back.
  • When velnor-lab gets its generated CI workflow, add that workflow's gate check to its required_checks.
  • The read-only plan also showed differences that this change does not touch: about twenty protect-main rulesets where the live required check is Required and the inventory says DCO, Policy, ci-required, and two repositories whose rulesets do not exist yet. They are worth a separate look.

🤖 Generated with Claude Code

Four repositories carry a -legacy suffix on GitHub: velnor,
velnor-actions-fixture, velnor-apt and homebrew-velnor. The inventory
still used the names without the suffix, so an apply would rename them
back. The inventory, the import triples, the mandatory list and the
runner group now use the current names. moved.tf carries the state
entries to the new keys.

velnor-lab joins the inventory with the dco_only check list. Its merge
settings and both rulesets exist on GitHub and are imported by ID.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
@donbeave
donbeave marked this pull request as ready for review November 12, 2026 13:15
@donbeave
donbeave merged commit 26357d0 into main Nov 12, 2026
11 checks passed
@donbeave
donbeave deleted the chore/velnor-legacy-names-and-lab branch November 12, 2026 13:17
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