diff --git a/github/repository/master/monorepo.hcl b/github/repository/master/monorepo.hcl index 04c1d872..18c2e1a6 100644 --- a/github/repository/master/monorepo.hcl +++ b/github/repository/master/monorepo.hcl @@ -3,7 +3,6 @@ locals { name = "monorepo" description = "Monorepo for multiple services and infrastructure configurations." visibility = "public" - allow_forking = false actions_default_permissions_read = true features = { issues = true diff --git a/github/repository/master/platform.hcl b/github/repository/master/platform.hcl index a6b7e0f3..ee248241 100644 --- a/github/repository/master/platform.hcl +++ b/github/repository/master/platform.hcl @@ -3,7 +3,6 @@ locals { name = "platform" description = "Platform for multiple services and infrastructure configurations" visibility = "public" - allow_forking = false actions_default_permissions_read = true features = { issues = true diff --git a/github/repository/modules/main.tf b/github/repository/modules/main.tf index 72fd59e0..58649127 100644 --- a/github/repository/modules/main.tf +++ b/github/repository/modules/main.tf @@ -10,7 +10,6 @@ resource "github_repository" "repository" { has_projects = each.value.features.projects vulnerability_alerts = true - allow_forking = each.value.allow_forking allow_merge_commit = false allow_squash_merge = true diff --git a/github/repository/modules/variables.tf b/github/repository/modules/variables.tf index 8843c11f..29bb0879 100644 --- a/github/repository/modules/variables.tf +++ b/github/repository/modules/variables.tf @@ -37,7 +37,6 @@ variable "repositories" { name = string description = string visibility = string - allow_forking = optional(bool, true) actions_default_permissions_read = optional(bool, false) features = object({ issues = bool