diff --git a/terraform/github/locals.tf b/terraform/github/locals.tf index c25c233..ed7d1a4 100644 --- a/terraform/github/locals.tf +++ b/terraform/github/locals.tf @@ -282,6 +282,36 @@ locals { inject_standard_files = false } + dd-toolkit = { + description = "AutoHotkey v2 toolkit for Dungeon Defenders Redux: gameplay macros (tower stacking, ability loops, Jester wheel, charge shot) and known game config fixes." + topics = ["autohotkey", "autohotkey-v2", "dungeon-defenders", "dungeon-defenders-redux", "game-macro", "automation", "windows", "gaming"] + visibility = "public" + has_issues = true + has_wiki = false + has_projects = false + allow_merge_commit = false + allow_squash_merge = true + allow_rebase_merge = false + delete_branch_on_merge = true + archived = false + + branch_protection = { + enabled = true + # "Commitlint" matches the check name used successfully across every + # other repo in this file. This repo's own ci.yml ("test-and-build") + # check isn't listed yet — add it once the real check name is + # confirmed from an actual PR run (see forge-ui above: a guessed + # placeholder ("CI") never matched any check and had to be corrected + # after the fact — better to add it once verified than guess wrong). + required_status_checks = ["Commitlint"] + require_pr_reviews = false + } + + # dd-toolkit manages its own .github/ (workflows, issue/PR templates, + # dependabot.yml) directly — Terraform injection would overwrite them. + inject_standard_files = false + } + # GitHub profile repository — README.md is injected via terraform/github/files.tf GregoireF = { description = "GitHub profile."