Repository navigation
Track the -legacy repository names and add velnor-lab - #56
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Four repositories were renamed on GitHub and now carry a
-legacysuffix:velnor,velnor-actions-fixture,velnor-aptandhomebrew-velnor. This repository still lists them without the suffix. An apply frommainwould rename them back.tailrocks/velnor-labis 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 thevelnor-trustedrunner group.moved.tf: twelvemovedblocks carry the state entries to the new keys, so nothing is destroyed. Delete the file after the first apply that includes it.velnor-labis added with thedco_onlycheck list and an import triple. Its merge settings and both rulesets already exist on GitHub (protect-main27119695,protect-tags27119696) and match the module.How it was checked
tofu fmt -check -recursive,tofu init -backend=false,tofu validate: clean.tofu planfrom an empty state against the live organisation: the five repositories and their ten rulesets resolve by the new names and IDs,velnor-labimports 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:planand confirm that it shows twelve moves and no rename.Reviewer notes
mainbefore this merges. It would rename the four repositories back.velnor-labgets its generated CI workflow, add that workflow's gate check to itsrequired_checks.protect-mainrulesets where the live required check isRequiredand the inventory saysDCO,Policy,ci-required, and two repositories whose rulesets do not exist yet. They are worth a separate look.🤖 Generated with Claude Code