Import devctl's archived GitHub copy, so the next change deletes it with the App (AHT-246, AHT-251) #46
Loading…
Reference in a new issue
No description provided.
Delete branch "devctl-import-to-delete"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First of two changes that delete devctl's GitHub copy, by the same path that deleted diagrams and fzt-showcase (ROMAINE-55): this one imports it into tofu, the next removes it, and that apply deletes it with the infra-bootstrap GitHub App.
forgejo-management delete. GitHub refused its copy: gh's token lacksdelete_repo, and widening a stored token is a static credential. The infra-bootstrap App is the one identity that has deleted romaine-life repositories, and only this repo's CI holds it.tofu/deleting-repos.tf, animportblock plus agithub_repository.deletingresource fordevctl, witharchived = trueandlifecycle { ignore_changes = all }.github_repository.retired(devctl isn't added there, since that resource sets visibility and other settings).The tool-side route, a short-lived App token from auth so a PC can finish the GitHub side, is filed as AHT-273.
Work package: AHT-251
🤖 Generated with Claude Code