harden IUCLabs org settings, actions token and runner access
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful

This commit is contained in:
2026-11-10 22:16:51 +11:00
parent 23c315a49a
commit b002fa2917
7 changed files with 132 additions and 2 deletions
+11
View File
@@ -109,3 +109,14 @@ variable "repository" {
error_message = "Unknown rulesets referenced: ${join(", ", distinct(flatten([for name, repo in var.repository : [for rs in repo.rulesets : "${name}/${rs}" if !contains(keys(var.ruleset), rs)]])))}."
}
}
variable "settings" {
description = "Organisation settings from config.yaml; null leaves them unmanaged"
type = object({
billing_email = string
default_repository_permission = optional(string, "read")
members_can_create_repositories = optional(bool, false)
public_runners = optional(bool, false)
})
default = null
}