Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .terraform.lock.hcl

This file was deleted.

19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Deprecated repository-policy root

This repository is being retired as an owner of Jackin GitHub repository settings and rulesets. The planned source of truth is the [ChainArgos GitHub Terraform control plane](https://github.com/ChainArgos/github-terraform), which centralizes policies across organizations.

Do not merge this retirement until the central control-plane change is on its default branch and its reviewed plan confirms it adopts the existing nine Jackin repositories and their rulesets. The control plane should be the only root that declares or imports these policies.

The handoff inventory is:

- `homebrew-tap`
- `jackin`
- `jackin-agent-smith`
- `jackin-dev`
- `jackin-github-terraform`
- `jackin-marketplace`
- `jackin-role-action`
- `jackin-sentinel`
- `jackin-the-architect`

This root intentionally contains no GitHub provider, repository inventory, repository or ruleset resources, or import blocks. The `removed` blocks in `migrations.tf` forget any legacy local-state ownership with `destroy = false`; they do not delete GitHub repositories or rulesets. CI initializes with `-backend=false`, and this root does not configure a remote backend.
10 changes: 0 additions & 10 deletions branch-protection.tf

This file was deleted.

62 changes: 0 additions & 62 deletions checks.tf

This file was deleted.

31 changes: 24 additions & 7 deletions migrations.tf
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
# SPDX-FileCopyrightText: 2026 Alexey Zhokhov
# SPDX-License-Identifier: Apache-2.0

# Module refactoring: migrate root-level resources into module.repository_policy
moved {
# Forget this root's former ownership without deleting the GitHub objects.
removed {
from = module.repository_policy

lifecycle {
destroy = false
}
}

removed {
from = github_repository.managed_settings
to = module.repository_policy.github_repository.managed_settings

lifecycle {
destroy = false
}
}

moved {
removed {
from = github_repository_ruleset.protect_main
to = module.repository_policy.github_repository_ruleset.protect_main

lifecycle {
destroy = false
}
}

moved {
removed {
from = github_repository_ruleset.protect_tags
to = module.repository_policy.github_repository_ruleset.protect_tags

lifecycle {
destroy = false
}
}
134 changes: 0 additions & 134 deletions modules/repository-policy/main.tf

This file was deleted.

24 changes: 0 additions & 24 deletions modules/repository-policy/outputs.tf

This file was deleted.

24 changes: 0 additions & 24 deletions modules/repository-policy/variables.tf

This file was deleted.

6 changes: 0 additions & 6 deletions provider.tf

This file was deleted.

Loading