diff --git a/definitions/default/dolibarr.tf b/definitions/default/dolibarr.tf index 03b89b3..d042313 100644 --- a/definitions/default/dolibarr.tf +++ b/definitions/default/dolibarr.tf @@ -373,6 +373,42 @@ EOT requirement_status = "suggested" purpose = "Contains templates used by build scripts" }, + { + name = ".mokogitea" + path = ".mokogitea" + description = "Gitea-specific configuration and workflows" + requirement_status = "required" + purpose = "Contains Gitea Actions workflows, manifest.xml, and CI/CD configuration" + subdirectories = [ + { + name = "workflows" + path = ".mokogitea/workflows" + description = "Gitea Actions workflows (universal)" + requirement_status = "required" + files = [ + { + name = "branch-cleanup.yml" + extension = "yml" + description = "Auto-delete merged feature branches after PR merge" + requirement_status = "required" + always_overwrite = true + template = ".mokogitea/workflows/branch-cleanup.yml" + } + ] + } + ] + files = [ + { + name = "manifest.xml" + extension = "xml" + description = "Repository manifest — version, platform, governance metadata" + requirement_status = "required" + always_overwrite = false + template = "managed-by-sync" + source_type = "programmatic" + } + ] + }, { name = ".github" path = ".github" diff --git a/definitions/default/generic.tf b/definitions/default/generic.tf index a583949..dbc7efe 100644 --- a/definitions/default/generic.tf +++ b/definitions/default/generic.tf @@ -291,6 +291,42 @@ locals { } ] }, + { + name = ".mokogitea" + path = ".mokogitea" + description = "Gitea-specific configuration and workflows" + requirement_status = "required" + purpose = "Contains Gitea Actions workflows, manifest.xml, and CI/CD configuration" + subdirectories = [ + { + name = "workflows" + path = ".mokogitea/workflows" + description = "Gitea Actions workflows (universal)" + requirement_status = "required" + files = [ + { + name = "branch-cleanup.yml" + extension = "yml" + description = "Auto-delete merged feature branches after PR merge" + requirement_status = "required" + always_overwrite = true + template = ".mokogitea/workflows/branch-cleanup.yml" + } + ] + } + ] + files = [ + { + name = "manifest.xml" + extension = "xml" + description = "Repository manifest — version, platform, governance metadata" + requirement_status = "required" + always_overwrite = false + template = "managed-by-sync" + source_type = "programmatic" + } + ] + }, { name = ".github" path = ".github" diff --git a/definitions/default/joomla.tf b/definitions/default/joomla.tf index 8474c25..4e0e24d 100644 --- a/definitions/default/joomla.tf +++ b/definitions/default/joomla.tf @@ -431,6 +431,42 @@ locals { } ] }, + { + name = ".mokogitea" + path = ".mokogitea" + description = "Gitea-specific configuration and workflows" + requirement_status = "required" + purpose = "Contains Gitea Actions workflows, manifest.xml, and CI/CD configuration" + subdirectories = [ + { + name = "workflows" + path = ".mokogitea/workflows" + description = "Gitea Actions workflows (universal)" + requirement_status = "required" + files = [ + { + name = "branch-cleanup.yml" + extension = "yml" + description = "Auto-delete merged feature branches after PR merge" + requirement_status = "required" + always_overwrite = true + template = ".mokogitea/workflows/branch-cleanup.yml" + } + ] + } + ] + files = [ + { + name = "manifest.xml" + extension = "xml" + description = "Repository manifest — version, platform, governance metadata" + requirement_status = "required" + always_overwrite = false + template = "managed-by-sync" + source_type = "programmatic" + } + ] + }, { name = ".github" path = ".github" diff --git a/definitions/default/platform.tf b/definitions/default/platform.tf index 97c0a94..3b9ab36 100644 --- a/definitions/default/platform.tf +++ b/definitions/default/platform.tf @@ -127,6 +127,42 @@ locals { } ] }, + { + name = ".mokogitea" + path = ".mokogitea" + description = "Gitea-specific configuration and workflows" + requirement_status = "required" + purpose = "Contains Gitea Actions workflows, manifest.xml, and CI/CD configuration" + subdirectories = [ + { + name = "workflows" + path = ".mokogitea/workflows" + description = "Gitea Actions workflows (universal)" + requirement_status = "required" + files = [ + { + name = "branch-cleanup.yml" + extension = "yml" + description = "Auto-delete merged feature branches after PR merge" + requirement_status = "required" + always_overwrite = true + template = ".mokogitea/workflows/branch-cleanup.yml" + } + ] + } + ] + files = [ + { + name = "manifest.xml" + extension = "xml" + description = "Repository manifest — version, platform, governance metadata" + requirement_status = "required" + always_overwrite = false + template = "managed-by-sync" + source_type = "programmatic" + } + ] + }, { name = ".github" path = ".github"